]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_motd.cpp
ConfigReader and FileReader now take InspIRCd* to their constructors
[user/henk/code/inspircd.git] / src / cmd_motd.cpp
index 7cd8f2c08a5882abb2989a58b178e1cddca8f078..ab89bfd190b77d439534c6a0f9fbbcbc64688cce 100644 (file)
@@ -17,9 +17,9 @@
 #include "users.h"
 #include "commands.h"
 #include "helperfuncs.h"
-#include "cmd_motd.h"
+#include "commands/cmd_motd.h"
 
-void cmd_motd::Handle (char **parameters, int pcnt, userrec *user)
+void cmd_motd::Handle (const char** parameters, int pcnt, userrec *user)
 {
-       ShowMOTD(user);
+       user->ShowMOTD();
 }