]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_die.cpp
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident...
[user/henk/code/inspircd.git] / src / cmd_die.cpp
index 6025ea2b573a8d00dcdf22ec8c002bfc91ba92a9..3193a19e1d557688b64cc375abe082c3de6af0ed 100644 (file)
 #include "commands/cmd_die.h"
 #include "exitcodes.h"
 
-extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
        return new cmd_die(Instance);
 }
 
 /** Handle /DIE
  */
-CmdResult cmd_die::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_die::Handle (const char** parameters, int pcnt, User *user)
 {
        if (!strcmp(parameters[0],ServerInstance->Config->diepass))
        {