aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_auditorium.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-04-09 18:57:50 +0100
committerGravatar Sadie Powell2020-04-11 13:54:05 +0100
commit1a800f7b3db23cdef7e167cd25c0f3b2a64a8e46 (patch)
treef302e819c6707d578c2011544069a21640fab735 /src/modules/m_auditorium.cpp
parentDefault <sslprofile:hash> to sha256 for GnuTLS and OpenSSL. (diff)
Improve storage of module description, flags, and link data.
Diffstat (limited to 'src/modules/m_auditorium.cpp')
-rw-r--r--src/modules/m_auditorium.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index 704d3dace..09fe24540 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -74,7 +74,8 @@ class ModuleAuditorium
public:
ModuleAuditorium()
- : Names::EventListener(this)
+ : Module(VF_VENDOR, "Provides channel mode +u, auditorium channels where nobody can see others joining and parting or the nick list")
+ , Names::EventListener(this)
, Who::EventListener(this)
, exemptionprov(this)
, aum(this)
@@ -90,11 +91,6 @@ class ModuleAuditorium
OperCanSee = tag->getBool("opercansee", true);
}
- Version GetVersion() override
- {
- return Version("Provides channel mode +u, auditorium channels where nobody can see others joining and parting or the nick list", VF_VENDOR);
- }
-
/* Can they be seen by everyone? */
bool IsVisible(Membership* memb)
{