diff options
| author | 2010-02-23 13:17:32 -0600 | |
|---|---|---|
| committer | 2010-08-03 17:32:37 -0400 | |
| commit | fb092565796eaa3d638276e3241747c96ab232dc (patch) | |
| tree | 9d7df41ac049fe1cd9d85f6aba8850be14d4399f /src/mode.cpp | |
| parent | Replace #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.cpp | 1 |
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) |
