1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 07:23:13 +02:00

Fix non-debugmode build

This commit is contained in:
Bram Matthys
2021-09-11 16:12:43 +02:00
parent 8353a9e17b
commit a4d5341b41
+3 -3
View File
@@ -496,12 +496,12 @@ static void parse2(Client *cptr, Client **fromptr, MessageTag *mtags, int mtags_
#ifndef DEBUGMODE
if (cmptr->flags & CMD_ALIAS)
{
(*cmptr->aliasfunc) (from, mtags, i, para, cmptr->cmd);
(*cmptr->aliasfunc) (from, mtags, i, (const char **)para, cmptr->cmd);
} else {
if (!cmptr->overriders)
(*cmptr->func) (from, mtags, i, para);
(*cmptr->func) (from, mtags, i, (const char **)para);
else
(*cmptr->overriders->func) (cmptr->overriders, from, mtags, i, para);
(*cmptr->overriders->func) (cmptr->overriders, from, mtags, i, (const char **)para);
}
#else
then = clock();