aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_hidechans.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-06-01 01:48:14 +0100
committerGravatar Sadie Powell2021-06-01 02:36:13 +0100
commit10e9e9a5be47ff0000d459d9a71bc6b11292898f (patch)
treebd7df96efc2fd69880c5a5db220ae26b8f4c0324 /src/modules/m_hidechans.cpp
parentMerge branch 'insp3' into master. (diff)
Rename Simple{Channel,User}ModeHandler to match other mode handlers.
Diffstat (limited to 'src/modules/m_hidechans.cpp')
-rw-r--r--src/modules/m_hidechans.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index a3a59206f..89495b65e 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -28,10 +28,14 @@
/** Handles user mode +I
*/
-class HideChans : public SimpleUserModeHandler
+class HideChans final
+ : public SimpleUserMode
{
public:
- HideChans(Module* Creator) : SimpleUserModeHandler(Creator, "hidechans", 'I') { }
+ HideChans(Module* Creator)
+ : SimpleUserMode(Creator, "hidechans", 'I')
+ {
+ }
};
class ModuleHideChans : public Module, public Whois::LineEventListener