summaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r--src/modules/m_opermotd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index 49409a1c0..591dc97a8 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -36,7 +36,7 @@ class CommandOpermotd : public Command
CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE
{
- if ((parameters.empty()) || (parameters[0] == ServerInstance->Config->ServerName))
+ if ((parameters.empty()) || (irc::equals(parameters[0], ServerInstance->Config->ServerName)))
ShowOperMOTD(user);
return CMD_SUCCESS;
}