X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_motd.cpp;h=ab89bfd190b77d439534c6a0f9fbbcbc64688cce;hb=12737ab4ad61a0d8a908c8a21594c7012e21eb3c;hp=7cd8f2c08a5882abb2989a58b178e1cddca8f078;hpb=77123f4dec9f29105f6c0ceea0262cfe8e9eaa1a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_motd.cpp b/src/cmd_motd.cpp index 7cd8f2c08..ab89bfd19 100644 --- a/src/cmd_motd.cpp +++ b/src/cmd_motd.cpp @@ -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(); }