fixed statistics user counter
authorpk910 <philipp@zoelle1.de>
Sat, 14 Jan 2012 18:48:30 +0000 (19:48 +0100)
committerpk910 <philipp@zoelle1.de>
Sat, 14 Jan 2012 18:48:30 +0000 (19:48 +0100)
src/IRCParser.c

index 6ad38045641fd1dfc162c257be82b0512593759f..ab1c69c49099ceabbe58c0095597f95dd05d64f6 100644 (file)
@@ -600,7 +600,7 @@ static IRC_CMD(raw_251) {
     if(argc < 2) return 0;
     char *total_user_str = argv[1];
     char total_visible[20], total_invisible[20];
-    int i, total_visible_pos = 0, total_invisible_pos = 0;
+    int i = 0, total_visible_pos = 0, total_invisible_pos = 0;
     while(*total_user_str) {
         if(*total_user_str == ' ') {
             i++;