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

Newlog: debug.c, match.c, module.c, random.c and then for

api-*.c log out of space in all circumstances.
This commit is contained in:
Bram Matthys
2021-08-11 17:45:01 +02:00
parent ca3c91ca17
commit 8d2f20ef41
9 changed files with 43 additions and 15 deletions
+2
View File
@@ -65,6 +65,8 @@ ModDataInfo *ModDataAdd(Module *module, ModDataInfo req)
((req.type == MODDATATYPE_MEMBER) && (slotav >= MODDATA_MAX_MEMBER)) ||
((req.type == MODDATATYPE_MEMBERSHIP) && (slotav >= MODDATA_MAX_MEMBERSHIP)))
{
unreal_log(ULOG_ERROR, "module", "MOD_DATA_OUT_OF_SPACE", NULL,
"ModDataAdd: out of space!!!");
if (module)
module->errorcode = MODERR_NOSPACE;
return NULL;