X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_motd.cpp;h=38117be6b0feb6ca8a52e3ae3f0d63ef76f7f83e;hb=316e19f10c1d30215a2617f44ca61f8d6d2559a8;hp=0691e1abac58a8e0908705005630352de67e6bd9;hpb=9cf56d917d92959701694477f7944d45ad2c38ed;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_motd.cpp b/src/cmd_motd.cpp index 0691e1aba..38117be6b 100644 --- a/src/cmd_motd.cpp +++ b/src/cmd_motd.cpp @@ -11,7 +11,7 @@ * --------------------------------------------------- */ -#include "users.h" +#include "inspircd.h" #include "commands/cmd_motd.h" extern "C" DllExport command_t* init_command(InspIRCd* Instance) @@ -23,7 +23,6 @@ extern "C" DllExport command_t* init_command(InspIRCd* Instance) */ CmdResult cmd_motd::Handle (const char** parameters, int pcnt, userrec *user) { - if (!pcnt) - user->ShowMOTD(); + user->ShowMOTD(); return CMD_SUCCESS; }