From c0c78ae1e63232f8165bf8fa8c12aaba165cd554 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Sun, 19 Feb 2012 22:40:19 +0000 Subject: [PATCH] It should be /ctcp not /ctcp --- Classes/IRC/IRCClient.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/IRC/IRCClient.m b/Classes/IRC/IRCClient.m index 235730df73..35dffaec43 100755 --- a/Classes/IRC/IRCClient.m +++ b/Classes/IRC/IRCClient.m @@ -1995,10 +1995,10 @@ - (BOOL)sendCommand:(id)str completeTarget:(BOOL)completeTarget target:(NSString } case 32: // Command: CTCP { - NSString *subCommand = [s.getToken.string uppercaseString]; + targetChannelName = s.getToken.string; - if (NSObjectIsNotEmpty(subCommand)) { - targetChannelName = s.getToken.string; + if (NSObjectIsNotEmpty(targetChannelName)) { + NSString *subCommand = [s.getToken.string uppercaseString]; if ([subCommand isEqualToString:IRCCI_PING]) { [self sendCTCPPing:targetChannelName];