diff options
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r-- | src/modules/m_swhois.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp index 3103e7a56..4b62db699 100644 --- a/src/modules/m_swhois.cpp +++ b/src/modules/m_swhois.cpp @@ -34,7 +34,7 @@ class cmd_swhois : public command_t syntax = "<nick> <swhois>"; } - void Handle(const char** parameters, int pcnt, userrec* user) + CmdResult Handle(const char** parameters, int pcnt, userrec* user) { userrec* dest = ServerInstance->FindNick(parameters[0]); if(dest) @@ -70,7 +70,11 @@ class cmd_swhois : public command_t text = new std::string(line); dest->Extend("swhois", text); + + return CMD_SUCCESS; } + + return CMD_FAILURE; } }; |