diff --git a/Classes/Headers/IRC.h b/Classes/Headers/IRC.h index a60a7af0ac..0076af55a4 100755 --- a/Classes/Headers/IRC.h +++ b/Classes/Headers/IRC.h @@ -62,6 +62,7 @@ #define IRCCommandIndexNachat @"NACHAT" #define IRCCommandIndexNames @"NAMES" #define IRCCommandIndexNick @"NICK" +#define IRCCommandIndexNncoloreset @"NNCOLORESET" #define IRCCommandIndexNotice @"NOTICE" #define IRCCommandIndexOmsg @"OMSG" #define IRCCommandIndexOnotice @"ONOTICE" diff --git a/Classes/IRC/IRCClient.m b/Classes/IRC/IRCClient.m index a5bfa4c09d..950f2cf2a5 100755 --- a/Classes/IRC/IRCClient.m +++ b/Classes/IRC/IRCClient.m @@ -2671,6 +2671,17 @@ - (BOOL)sendCommand:(id)str completeTarget:(BOOL)completeTarget target:(NSString return YES; break; } + case 105: // Command: NNCOLORESET + { + if (PointerIsNotEmpty(c) && c.isChannel) { + for (IRCUser *u in c.members) { + u.colorNumber = -1; + } + } + + return YES; + break; + } default: { NSString *command = [cmd lowercaseString]; diff --git a/Classes/Preferences/TPCPreferences.m b/Classes/Preferences/TPCPreferences.m index 53e8ce8289..9cf181342e 100755 --- a/Classes/Preferences/TPCPreferences.m +++ b/Classes/Preferences/TPCPreferences.m @@ -98,6 +98,7 @@ + (void)populateCommandIndex commandIndex[IRCCommandIndexNachat] = @"88"; commandIndex[IRCCommandIndexNames] = @"12"; commandIndex[IRCCommandIndexNick] = @"13"; + commandIndex[IRCCommandIndexNncoloreset] = @"105"; commandIndex[IRCCommandIndexNotice] = @"14"; commandIndex[IRCCommandIndexOmsg] = @"38"; commandIndex[IRCCommandIndexOnotice] = @"39"; diff --git a/Resources/Info.plist b/Resources/Info.plist index c5b523e03e..e1d09fce24 100755 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -47,8 +47,8 @@ TXBundleBuildCodeName Dave Matthews Band® Magic Brownies™ Encore Edition TXBundleBuildNumber - 11695 + 11697 TXBundleBuildReference - 2.1.1-209-gb88b122-appstore,llvm4.0 + 2.1.1-210-g4e787e0-debug,llvm4.0