]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands.cpp
Put back different stats numerics for /stats g, /stats k etc
[user/henk/code/inspircd.git] / src / commands.cpp
index 65b11e5a027a8091e98c60d836b35df34b8cef7c..4e44003850caef1d6d45963e1fa658b5ed750a8d 100644 (file)
  * ---------------------------------------------------
  */
 
+/* $Core: libIRCDcommands */
+
 #include "inspircd.h"
-#include "configreader.h"
-#include "users.h"
-#include "modules.h"
 #include "wildcard.h"
 #include "xline.h"
 #include "command_parse.h"
 
 /* All other ircds when doing this check usually just look for a string of *@* or *. We're smarter than that, though. */
 
-bool InspIRCd::HostMatchesEveryone(const std::string &mask, userrec* user)
+bool InspIRCd::HostMatchesEveryone(const std::string &mask, User* user)
 {
        char itrigger[MAXBUF];
        long matches = 0;
@@ -52,7 +51,7 @@ bool InspIRCd::HostMatchesEveryone(const std::string &mask, userrec* user)
        return false;
 }
 
-bool InspIRCd::IPMatchesEveryone(const std::string &ip, userrec* user)
+bool InspIRCd::IPMatchesEveryone(const std::string &ip, User* user)
 {
        char itrigger[MAXBUF];
        long matches = 0;
@@ -81,7 +80,7 @@ bool InspIRCd::IPMatchesEveryone(const std::string &ip, userrec* user)
        return false;
 }
 
-bool InspIRCd::NickMatchesEveryone(const std::string &nick, userrec* user)
+bool InspIRCd::NickMatchesEveryone(const std::string &nick, User* user)
 {
        char itrigger[MAXBUF];
        long matches = 0;