X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_motd.cpp;h=38117be6b0feb6ca8a52e3ae3f0d63ef76f7f83e;hb=4c83624ed825ca123401a45c8d2844ba6453a85b;hp=f6c76dac4d9397e168f48fe973615785418fe5f3;hpb=11554b8626d8b421cc9cf2c6f6cc3fe2467e0441;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_motd.cpp b/src/cmd_motd.cpp index f6c76dac4..38117be6b 100644 --- a/src/cmd_motd.cpp +++ b/src/cmd_motd.cpp @@ -12,7 +12,6 @@ */ #include "inspircd.h" -#include "users.h" #include "commands/cmd_motd.h" extern "C" DllExport command_t* init_command(InspIRCd* Instance) @@ -24,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; }