diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 14:35:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-07 14:35:33 +0000 |
commit | 182efa70e5410826441f6fbffa66afed094a6ac3 (patch) | |
tree | 7cf8b9fa1f3e227702ef24cf2e37f93af565a1a2 /src | |
parent | 2d05d8bc330256252e22b8b8aede3504d8d4dca6 (diff) |
Dummy framework to insert the class for channelmode +s
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4125 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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; } |