From: pk910 Date: Sun, 17 Jul 2011 01:25:11 +0000 (+0200) Subject: fix X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=d563a3502fb610dc09bcfdf3d50aab0607341323 fix --- diff --git a/src/proto-p10.c b/src/proto-p10.c index f89586b..038b636 100644 --- a/src/proto-p10.c +++ b/src/proto-p10.c @@ -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;