]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands.cpp
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident...
[user/henk/code/inspircd.git] / src / commands.cpp
index 65b11e5a027a8091e98c60d836b35df34b8cef7c..edb8a529e28e6d6f34a73d194fe67f739199952a 100644 (file)
  */
 
 #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 +49,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 +78,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;