diff options
| author | 2020-04-14 21:30:50 +0100 | |
|---|---|---|
| committer | 2020-04-14 21:30:50 +0100 | |
| commit | 9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e (patch) | |
| tree | 81951879b7af3bbcbf2fb8fb6e9b00b3f5084fb9 /src/modules/m_globalload.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| download | inspircd++-9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e.tar.gz inspircd++-9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e.tar.bz2 inspircd++-9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e.zip | |
Replace the flags_required field with an enum.
Diffstat (limited to 'src/modules/m_globalload.cpp')
| -rw-r--r-- | src/modules/m_globalload.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp index d5c43c953..adbdeb58c 100644 --- a/src/modules/m_globalload.cpp +++ b/src/modules/m_globalload.cpp @@ -33,7 +33,7 @@ class CommandGloadmodule : public Command public: CommandGloadmodule(Module* Creator) : Command(Creator,"GLOADMODULE", 1) { - flags_needed = 'o'; + access_needed = CmdAccess::OPERATOR; syntax = { "<modulename> [<servermask>]" }; } @@ -72,7 +72,7 @@ class CommandGunloadmodule : public Command public: CommandGunloadmodule(Module* Creator) : Command(Creator,"GUNLOADMODULE", 1) { - flags_needed = 'o'; + access_needed = CmdAccess::OPERATOR; syntax = { "<modulename> [<servermask>]" }; } @@ -123,7 +123,7 @@ class CommandGreloadmodule : public Command public: CommandGreloadmodule(Module* Creator) : Command(Creator, "GRELOADMODULE", 1) { - flags_needed = 'o'; + access_needed = CmdAccess::OPERATOR; syntax = { "<modulename> [<servermask>]" }; } |
