From: michael Date: Thu, 8 Jan 2015 15:26:28 +0000 (+0000) Subject: - opercmd.c:command_parse(): don't continue to walk thru the entire table X-Git-Tag: 1.1.0beta1~185 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=fc827de7ff02c1ed67c7b4eafc0fc4a92e30c4c2;p=hopm.git - opercmd.c:command_parse(): don't continue to walk thru the entire table once a command has been found git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5339 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/src/opercmd.c b/src/opercmd.c index 3874f05..87eb8a9 100644 --- a/src/opercmd.c +++ b/src/opercmd.c @@ -186,6 +186,7 @@ command_parse(char *command, char *msg, const struct ChannelConf *target, struct Command *cs = command_create(tab, param, source_p->irc_nick, target); list_add(COMMANDS, node_create(cs)); + break; } }