- opercmd.c: fixed compile warning with -Wshadow
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 23 Jun 2015 16:46:49 +0000 (16:46 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 23 Jun 2015 16:46:49 +0000 (16:46 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6182 82007160-df01-0410-b94d-b575c5fd34c7

src/opercmd.c

index b342a9eaf621de1cb56aa775a883185447e02fa4..ed9e9c3477dfe9a52735daad19b9098119bc9faf 100644 (file)
@@ -223,9 +223,9 @@ command_parse(char *command, const struct ChannelConf *target,
     if (strcasecmp(command, tab->command) == 0)
     {
       /* Queue this command */
-      struct Command *command = command_create(tab, param, source_p->irc_nick, target);
+      struct Command *cmd = command_create(tab, param, source_p->irc_nick, target);
 
-      list_add(&COMMANDS, node_create(command));
+      list_add(&COMMANDS, node_create(cmd));
       break;
     }
   }