]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_restrictmsg.cpp
Fix potential for duplicate SID if the SID is auto generated.
[user/henk/code/inspircd.git] / src / modules / m_restrictmsg.cpp
index faa272b131bd6ed9fe6c7991daf79b5b7d3b9790..b5f10eb244976a5d38cec4908266e247189cf890 100644 (file)
@@ -12,9 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 
 /* $ModDesc: Forbids users from messaging each other. Users may still message opers and opers may message other opers. */
 
@@ -72,4 +69,4 @@ class ModuleRestrictMsg : public Module
        }
 };
 
-MODULE_INIT(ModuleRestrictMsg);
+MODULE_INIT(ModuleRestrictMsg)