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_nicklock.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Replace the flags_required field with an enum.
Diffstat (limited to 'src/modules/m_nicklock.cpp')
| -rw-r--r-- | src/modules/m_nicklock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index 34dc1f441..df78c0f2b 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -43,7 +43,7 @@ class CommandNicklock : public Command CommandNicklock (Module* Creator, IntExtItem& ext) : Command(Creator,"NICKLOCK", 2), locked(ext) { - flags_needed = 'o'; + access_needed = CmdAccess::OPERATOR; syntax = { "<nick> <newnick>" }; translation = { TR_NICK, TR_TEXT }; } @@ -103,7 +103,7 @@ class CommandNickunlock : public Command CommandNickunlock (Module* Creator, IntExtItem& ext) : Command(Creator,"NICKUNLOCK", 1), locked(ext) { - flags_needed = 'o'; + access_needed = CmdAccess::OPERATOR; syntax = { "<nick>" }; translation = { TR_NICK }; } |
