Skip to content

Commit

Permalink
isChannelName now allows channels to start with ~
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily committed Sep 29, 2012
1 parent f514256 commit 48a8874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Helpers/NSStringHelper.m
Expand Up @@ -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
Expand Down

0 comments on commit 48a8874

Please sign in to comment.