aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_sethost.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-04-14 21:30:50 +0100
committerGravatar Sadie Powell2020-04-14 21:30:50 +0100
commit9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e (patch)
tree81951879b7af3bbcbf2fb8fb6e9b00b3f5084fb9 /src/modules/m_sethost.cpp
parentMerge branch 'insp3' into master. (diff)
downloadinspircd++-9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e.tar.gz
inspircd++-9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e.tar.bz2
inspircd++-9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e.zip
Replace the flags_required field with an enum.
Diffstat (limited to 'src/modules/m_sethost.cpp')
-rw-r--r--src/modules/m_sethost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index 6997b3d43..2d0ff6b03 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -36,7 +36,7 @@ class CommandSethost : public Command
: Command(Creator,"SETHOST", 1)
{
allow_empty_last_param = false;
- flags_needed = 'o';
+ access_needed = CmdAccess::OPERATOR;
syntax = { "<host>" };
}