aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chghost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chghost.cpp')
-rw-r--r--src/modules/m_chghost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index 5ff36d892..6e1db3dc9 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -36,7 +36,7 @@ class CommandChghost : public Command
: Command(Creator,"CHGHOST", 2)
{
allow_empty_last_param = false;
- flags_needed = 'o';
+ access_needed = CmdAccess::OPERATOR;
syntax = { "<nick> <host>" };
translation = { TR_NICK, TR_TEXT };
}