aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_globops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r--src/modules/m_globops.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index c45259779..b0b4e1b2d 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -44,11 +44,11 @@ class CommandGlobops : public Command
if (parameters[0].empty())
{
user->WriteNumeric(ERR_NOTEXTTOSEND, "No text to send");
- return CMD_FAILURE;
+ return CmdResult::FAILURE;
}
ServerInstance->SNO.WriteGlobalSno('g', "From " + user->nick + ": " + parameters[0]);
- return CMD_SUCCESS;
+ return CmdResult::SUCCESS;
}
};