]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/mode.cpp
Allow static build of inspircd without module support
[user/henk/code/inspircd.git] / src / mode.cpp
index fd2517dce6da2d18ccb6b104bc201fb752d0585e..9c3b75101de3809997941bf85506840406e75cf1 100644 (file)
@@ -34,8 +34,6 @@
 #include "modes/cmode_l.h"
 /* +o (channel op) */
 #include "modes/cmode_o.h"
-/* +h (channel halfop) */
-#include "modes/cmode_h.h"
 /* +v (channel voice) */
 #include "modes/cmode_v.h"
 /* +w (see wallops) */
@@ -981,10 +979,4 @@ ModeParser::ModeParser()
 
 ModeParser::~ModeParser()
 {
-       ModeHandler* mh = FindMode('h', MODETYPE_CHANNEL);
-       if (mh)
-       {
-               mh->cull();
-               delete mh;
-       }
 }