diff options
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r-- | src/modules/m_globops.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 9e55fdf71..5cd17841d 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -38,7 +38,7 @@ class cmd_globops : public command_t syntax = "<any-text>"; } - void Handle (const char** parameters, int pcnt, userrec *user) + CmdResult Handle (const char** parameters, int pcnt, userrec *user) { std::string line = "From " + std::string(user->nick) + ": "; for (int i = 0; i < pcnt; i++) @@ -46,6 +46,8 @@ class cmd_globops : public command_t line = line + std::string(parameters[i]) + " "; } ServerInstance->SNO->WriteToSnoMask('g',line); + + return CMD_SUCCESS; } }; |