]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_server.cpp
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident...
[user/henk/code/inspircd.git] / src / cmd_server.cpp
index cace13c38a1f3cdfd7109df50486def903f47082..7781d3331899aa4d94ec2a1fa17b01ed5b319268 100644 (file)
  */
 
 #include "inspircd.h"
-#include "users.h"
 #include "commands/cmd_server.h"
 
 
 
-extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
        return new cmd_server(Instance);
 }
 
-CmdResult cmd_server::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_server::Handle (const char** parameters, int pcnt, User *user)
 {
        user->WriteServ("666 %s :You cannot identify as a server, you are a USER. IRC Operators informed.",user->nick);
        ServerInstance->WriteOpers("*** WARNING: %s attempted to issue a SERVER command and is registered as a user!",user->nick);