From 89ae67a6598dfdb2c9f945d001024092c5a76b3e Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 28 Jan 2006 22:51:52 +0000 Subject: Fixed uninitialized ExtMode::list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2959 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index b9bf136bb..5b706e8b2 100644 --- a/include/modules.h +++ b/include/modules.h @@ -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() -- cgit v1.2.3