Skip to content

Commit

Permalink
check ignore for invite commands
Browse files Browse the repository at this point in the history
  • Loading branch information
psychs committed May 27, 2010
1 parent 6953266 commit b41dbfa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/IRC/IRCClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -2969,6 +2969,10 @@ - (void)receiveInvite:(IRCMessage*)m
NSString* nick = m.sender.nick;
NSString* chname = [m paramAt:1];

if ([self checkIgnore:nil nick:nick channel:chname]) {
return;
}

NSString* text = [NSString stringWithFormat:@"%@ has invited you to %@", nick, chname];
[self printBoth:self type:LINE_TYPE_INVITE text:text];

Expand Down

0 comments on commit b41dbfa

Please sign in to comment.