aboutsummaryrefslogtreecommitdiffstats
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar Daniel De Graaf2010-02-23 13:17:32 -0600
committerGravatar Daniel De Graaf2010-08-03 17:32:37 -0400
commitfb092565796eaa3d638276e3241747c96ab232dc (patch)
tree9d7df41ac049fe1cd9d85f6aba8850be14d4399f /src/mode.cpp
parentReplace #define IPV6 with <config defaultbind="ipv6">, and autodetect if not ... (diff)
Fix modechange constructor
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 666eee0a9..ee38afa23 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -229,6 +229,7 @@ irc::modechange::modechange(const std::string& name, const std::string& param, b
}
irc::modechange::modechange(char modechar, ModeType type, const std::string& param, bool add)
+ : adding(add), value(param)
{
ModeHandler* mh = ServerInstance->Modes->FindMode(modechar, type);
if (mh)