Permalink
Browse files

isChannelName now allows channels to start with ~

  • Loading branch information...
1 parent f514256 commit 48a8874d05e4c1c539c3875048f45e3f253f7cc4 @Emily Emily committed Sep 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/Helpers/NSStringHelper.m
@@ -270,7 +270,7 @@ - (BOOL)isChannelName
{
if (self.length == 0) return NO;
UniChar c = [self characterAtIndex:0];
- return c == '#' || c == '&' || c == '+' || c == '!';
+ return c == '#' || c == '&' || c == '+' || c == '!' || c == '~';
}
- (BOOL)isModeChannelName

0 comments on commit 48a8874

Please sign in to comment.