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

Get rid of Debug(()) function calls. I never use it anyway.

This commit is contained in:
Bram Matthys
2021-07-12 18:54:05 +02:00
parent a57bdba220
commit 05aeba9ba9
21 changed files with 2 additions and 105 deletions
-4
View File
@@ -189,8 +189,6 @@ Umode *UmodeAdd(Module *module, char ch, int global, int unset_on_deoper, int (*
Usermode_Table[i].flag = ch;
Usermode_Table[i].allowed = allowed;
Usermode_Table[i].unset_on_deoper = unset_on_deoper;
Debug((DEBUG_DEBUG, "UmodeAdd(%c) returning %04lx",
ch, Usermode_Table[i].mode));
/* Update usermode table highest */
for (j = 0; j < UMODETABLESZ; j++)
if (Usermode_Table[i].flag)
@@ -214,7 +212,6 @@ Umode *UmodeAdd(Module *module, char ch, int global, int unset_on_deoper, int (*
}
else
{
Debug((DEBUG_DEBUG, "UmodeAdd failed, no space"));
if (module)
module->errorcode = MODERR_NOSPACE;
return NULL;
@@ -309,7 +306,6 @@ Snomask *SnomaskAdd(Module *module, char ch, int (*allowed)(Client *client, int
}
else
{
Debug((DEBUG_DEBUG, "SnomaskAdd failed, no space"));
*mode = 0;
if (module)
module->errorcode = MODERR_NOSPACE;