]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operjoin.cpp
Fix for bug #415, affects only trunk (wish i'd known this before i started!)
[user/henk/code/inspircd.git] / src / modules / m_operjoin.cpp
index d12bc193225bbade732b1dc028bc40cf77ceb86b..45fcf6be85ad3345be2d2c0faacb805930ae33b6 100644 (file)
@@ -12,9 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 
 /* $ModDesc: Forces opers to join the specified channel(s) on oper-up */
 
@@ -63,7 +60,7 @@ class ModuleOperjoin : public Module
                        if (!operChan.empty())
                                tokenize(operChan,operChans);
 
-                       DELETE(conf);
+                       delete conf;
                }
 
                virtual ~ModuleOperjoin()