Permalink
Browse files

Fix the brag plugin, it was counting "powerOver" incorrectly

  • Loading branch information...
1 parent de476c0 commit 4c670988902f68c0061479fe8869517d1e23a662 @kylef kylef committed Mar 3, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 Resources/Plugins/BragSpam/TPIBragSpam.m
View
3 Resources/Plugins/BragSpam/TPIBragSpam.m
@@ -29,8 +29,6 @@ - (void)messageSentByUser:(IRCClient*)client
operCount++;
}
- BOOL addUser = NO;
-
NSMutableArray *trackedUsers = [NSMutableArray new];
for (IRCChannel *ch in c.channels) {
@@ -50,6 +48,7 @@ - (void)messageSentByUser:(IRCClient*)client
for (IRCUser *m in ch.members) {
if ([m isEqual:myself]) continue;
+ BOOL addUser = NO;
if (myself.q && m.q == NO) {
addUser = YES;

0 comments on commit 4c67098

Please sign in to comment.