From fc827de7ff02c1ed67c7b4eafc0fc4a92e30c4c2 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 8 Jan 2015 15:26:28 +0000 Subject: [PATCH] - 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 --- src/opercmd.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.30.2