]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_info.cpp
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident...
[user/henk/code/inspircd.git] / src / cmd_info.cpp
index ce2b471db864f34c36d4f0bd38c1c4cc7d4b91ad..447834a7f49a0758d20f69342c324dd12c024cc5 100644 (file)
 #include "inspircd.h"
 #include "commands/cmd_info.h"
 
-extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
        return new cmd_info(Instance);
 }
 
 /** Handle /INFO
  */
-CmdResult cmd_info::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_info::Handle (const char** parameters, int pcnt, User *user)
 {
        user->WriteServ( "371 %s :                   -/\\- \2InspIRCd\2 -\\/-", user->nick);
        user->WriteServ( "371 %s :                 November 2002 - Present", user->nick);