]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_pong.cpp
InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ident...
[user/henk/code/inspircd.git] / src / cmd_pong.cpp
index fee5f1d48fb1a96961a7c617ac4dd9ff3f786ae7..aca3170783ab818955d1de16c4588ac24d9c387f 100644 (file)
  * ---------------------------------------------------
  */
 
-#include "users.h"
+#include "inspircd.h"
 #include "commands/cmd_pong.h"
 
-
-
-extern "C" DllExport command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport Command* init_command(InspIRCd* Instance)
 {
        return new cmd_pong(Instance);
 }
 
-CmdResult cmd_pong::Handle (const char** parameters, int pcnt, userrec *user)
+CmdResult cmd_pong::Handle (const char** parameters, int pcnt, User *user)
 {
        // set the user as alive so they survive to next ping
        user->lastping = 1;