]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_ping.cpp
Fixed to dynamically allocate the fieldlist
[user/henk/code/inspircd.git] / src / cmd_ping.cpp
index 2ac09e6c4c79dde6080cb13b85a6981bf2f65b62..b30a9d0faddacf42a26082873f0459bb78b57af1 100644 (file)
 #include "users.h"
 #include "commands.h"
 #include "helperfuncs.h"
-#include "cmd_ping.h"
+#include "commands/cmd_ping.h"
 
 extern ServerConfig* Config;
 
-void cmd_ping::Handle (char **parameters, int pcnt, userrec *user)
+
+void cmd_ping::Handle (const char** parameters, int pcnt, userrec *user)
 {
        WriteServ(user->fd,"PONG %s :%s",Config->ServerName,parameters[0]);
 }