]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Add checks for AddIOHook failing
[user/henk/code/inspircd.git] / include / modules.h
index b9bf136bb5eb0bd72a41c5c7b74d29fd80674df0..5b706e8b2c59f148c7da9cc5cbc25f32eb656377 100644 (file)
@@ -268,7 +268,7 @@ class ExtMode : public classbase
         int params_when_on;
         int params_when_off;
         bool list;
-        ExtMode(char mc, int ty, bool oper, int p_on, int p_off) : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off) { };
+        ExtMode(char mc, int ty, bool oper, int p_on, int p_off) : modechar(mc), type(ty), needsoper(oper), params_when_on(p_on), params_when_off(p_off), list(false) { };
 };
 
 /** Priority types which can be returned from Module::Prioritize()