diff options
Diffstat (limited to 'src/mode.cpp')
-rw-r--r-- | src/mode.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index ace7d1286..05f61e758 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -46,6 +46,8 @@ using namespace std; #include "helperfuncs.h" #include "mode.h" +#include "modes/cmode_s.h" + extern int MODCOUNT; extern std::vector<Module*> modules; extern std::vector<ircd_module*> factory; @@ -1752,5 +1754,7 @@ void ModeParser::ServerMode(char **parameters, int pcnt, userrec *user) ModeParser::ModeParser() { - cmode_s = new ModeChannelSecret(); + /* Dummy framework, XXX tidyme */ + ModeChannelSecret* cmode_s = new ModeChannelSecret(); + modehandlers[(unsigned char)'s'] = cmode_s; } |