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

Add value check for blacklist config, well, fix it i mean.

And fix some compiler warning (remove a useless check).
[skip ci]
This commit is contained in:
Bram Matthys
2023-11-26 16:36:11 +01:00
parent 94bf58add9
commit 0a7f1adc8b
2 changed files with 2 additions and 3 deletions
-3
View File
@@ -1380,9 +1380,6 @@ ModDataInfo *persistent_var_generic(ModuleInfo *modinfo, const char *varshortnam
ModDataInfo *m;
const char *fullname = mod_var_name(modinfo, varshortname);
if (!modinfo)
abort();
m = findmoddata_byname(fullname, MODDATATYPE_LOCAL_VARIABLE);
if (m)
{