summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index d2ecbf369..ace7d1286 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1749,3 +1749,8 @@ void ModeParser::ServerMode(char **parameters, int pcnt, userrec *user)
WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, parameters[0]);
}
}
+
+ModeParser::ModeParser()
+{
+ cmode_s = new ModeChannelSecret();
+}