aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operchans.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-09 06:15:13 +0100
committerGravatar Sadie Powell2023-08-09 06:15:13 +0100
commitce74cf96595c169af20a4daf34075f12e9c2e6ef (patch)
tree2b7e67459f9bbd63af04cac2fab26d7cfe7c86c2 /src/modules/m_operchans.cpp
parentMake config file cache invalidation more useful. (diff)
Rename the O: extban to opertype.
Diffstat (limited to 'src/modules/m_operchans.cpp')
-rw-r--r--src/modules/m_operchans.cpp10
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)
{
}