mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 14:23:13 +02:00
+- Made del_Command().
This commit is contained in:
-16
@@ -184,22 +184,6 @@ void ban_flooder(aClient *cptr)
|
||||
return;
|
||||
}
|
||||
|
||||
inline aCommand *find_Command(char *cmd, int token)
|
||||
{
|
||||
aCommand *p;
|
||||
|
||||
for (p = CommandHash[toupper(*cmd)]; p; p = p->next)
|
||||
if (p->token && token)
|
||||
{
|
||||
if (!strcmp(p->cmd, cmd))
|
||||
return (p);
|
||||
}
|
||||
else
|
||||
if (!match(p->cmd, cmd))
|
||||
return (p);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* parse a buffer.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user