fix
authorpk910 <philipp@zoelle1.de>
Sun, 17 Jul 2011 01:25:11 +0000 (03:25 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 17 Jul 2011 01:25:11 +0000 (03:25 +0200)
src/proto-p10.c

index f89586b9d24103572196aad73c6b847baf9a108a..038b636c6f50211f65ea097b2a0edd3817c37a3b 100644 (file)
@@ -2631,7 +2631,7 @@ mod_chanmode_parse(struct chanNode *channel, char **modes, unsigned int argc, un
                    if (add) {
                            if (in_arg >= argc)
                     goto error;
-                mode = modes[in_arg++];
+                char *mode = modes[in_arg++];
                 if(mode[0] == '!' && !(flags & MCP_OPERMODE)) { //noflood flag also for overriders
                     //only allow opers
                     goto error;