summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-28 22:51:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-28 22:51:52 +0000
commit89ae67a6598dfdb2c9f945d001024092c5a76b3e (patch)
tree298154fef1718401dc89eca9871dec01b527d611
parent4158ee6882ad088cd9e63db22d8fad7a624b14e6 (diff)
Fixed uninitialized ExtMode::list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2959 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/modules.h2
1 files changed, 1 insertions, 1 deletions
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()