From: pk910 Date: Sat, 14 Jan 2012 18:48:30 +0000 (+0100) Subject: fixed statistics user counter X-Git-Tag: v5.3~52 X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=8ee79e874a057be3f45ac81b6e0ade61fc18f255 fixed statistics user counter --- diff --git a/src/IRCParser.c b/src/IRCParser.c index 6ad3804..ab1c69c 100644 --- a/src/IRCParser.c +++ b/src/IRCParser.c @@ -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++;