diff options
| author | 2023-08-09 06:15:13 +0100 | |
|---|---|---|
| committer | 2023-08-09 06:15:13 +0100 | |
| commit | ce74cf96595c169af20a4daf34075f12e9c2e6ef (patch) | |
| tree | 2b7e67459f9bbd63af04cac2fab26d7cfe7c86c2 /src/modules | |
| parent | Make config file cache invalidation more useful. (diff) | |
Rename the O: extban to opertype.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_operchans.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp index c76754b75..663addb39 100644 --- a/src/modules/m_operchans.cpp +++ b/src/modules/m_operchans.cpp @@ -32,12 +32,12 @@ enum ERR_CANTJOINOPERSONLY = 520 }; -class OperExtBan final +class OperTypeExtBan final : public ExtBan::MatchingBase { public: - OperExtBan(Module* Creator) - : ExtBan::MatchingBase(Creator, "oper", 'O') + OperTypeExtBan(Module* Creator) + : ExtBan::MatchingBase(Creator, "opertype", 'O') { } @@ -59,13 +59,13 @@ class ModuleOperChans final { private: SimpleChannelMode oc; - OperExtBan extban; + OperTypeExtBan opertype; public: ModuleOperChans() : Module(VF_VENDOR, "Adds channel mode O (operonly) which prevents non-server operators from joining the channel.") , oc(this, "operonly", 'O', true) - , extban(this) + , opertype(this) { } |
