1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 22:43:14 +02:00

find_command(char *cmd, int flags) / find_command_simple(char *cmd)

This commit is contained in:
Bram Matthys
2019-10-26 09:58:42 +02:00
parent 9aff820d1a
commit ab7a4af46a
7 changed files with 14 additions and 15 deletions
+1 -1
View File
@@ -374,7 +374,7 @@ static void parse2(Client *cptr, Client **fromptr, MessageTag *mtags, char *ch)
flags |= CMD_VIRUS;
if (IsOper(from))
flags |= CMD_OPER;
cmptr = find_Command(ch, flags);
cmptr = find_command(ch, flags);
if (!cmptr || !(cmptr->flags & CMD_NOLAG))
{
/* Add fake lag (doing this early in the code, so we don't forget) */