fixed coding fail (variable name)
authorpk910 <philipp@zoelle1.de>
Mon, 20 Aug 2012 21:44:57 +0000 (23:44 +0200)
committerpk910 <philipp@zoelle1.de>
Mon, 20 Aug 2012 21:44:57 +0000 (23:44 +0200)
src/IRCParser.c

index e2a53aad606d4e858678b1e3c9febd2dd9acfcdc..aeb0e6d40eb9480f09b8f894d5cbd464cb57435a 100644 (file)
@@ -122,7 +122,7 @@ static void increase_viscount_butone(struct ChanNode *chan, struct ChanUser *ign
     for(chanuser = getChannelUsers(chan, NULL); chanuser; chanuser = getChannelUsers(chan, chanuser)) {
         if(chanuser == ignore)
             continue;
-        chanuser2->visCount++;
+        chanuser->visCount++;
     }
 }