]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_tline.cpp
Add sanity checks to the ssl modules so that theres no possibility of an out of range...
[user/henk/code/inspircd.git] / src / modules / m_tline.cpp
index 39cd2b0aa325af9bf24686ae8b65681006d1273b..3296a7f152e5f2febc32b4bc6818fe87a03874ac 100644 (file)
@@ -12,9 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 #include "wildcard.h"
 
 /* $ModDesc: Provides /tline command used to test who a mask matches */
@@ -61,8 +58,7 @@ class cmd_tline : public command_t
                else
                        user->WriteServ( "NOTICE %s :*** TLINE: Counted %0.0f user(s). Matched '%s' against no user(s).", user->nick, n_counted, parameters[0]);
 
-               return CMD_FAILURE;
-                       
+               return CMD_LOCALONLY;                   
        }
 };
 
@@ -92,5 +88,5 @@ class ModuleTLine : public Module
        }
 };
 
-MODULE_INIT(ModuleTLine);
+MODULE_INIT(ModuleTLine)