From 182efa70e5410826441f6fbffa66afed094a6ac3 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 7 Jul 2006 14:35:33 +0000 Subject: 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 --- src/mode.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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 modules; extern std::vector 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; } -- cgit v1.2.3