From f484fdfe0b8fb051d7d734d188b9a452c9553c36 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 8 Jan 2015 15:26:56 +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/branches/1.0.x@5340 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