diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_chghost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index be739ffc6..03347003a 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -41,7 +41,7 @@ class CommandChghost : public Command return CMD_FAILURE; } } - if (parameters[0].empty()) + if (parameters[1].empty()) { user->WriteServ("NOTICE %s :*** CHGHOST: Host must be specified", user->nick.c_str()); return CMD_FAILURE; |