From 1a800f7b3db23cdef7e167cd25c0f3b2a64a8e46 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 9 Apr 2020 18:57:50 +0100 Subject: Improve storage of module description, flags, and link data. --- src/modules/m_cgiirc.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/modules/m_cgiirc.cpp') diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 241eb118b..dc6245921 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -268,7 +268,8 @@ class ModuleCgiIRC public: ModuleCgiIRC() - : WebIRC::EventListener(this) + : Module(VF_VENDOR, "Enables forwarding the real IP address of a user from a gateway to the IRC server") + , WebIRC::EventListener(this) , Whois::EventListener(this) , cmd(this) { @@ -463,11 +464,6 @@ class ModuleCgiIRC else whois.SendLine(RPL_WHOISGATEWAY, *realhost, *realip, "is connected via an ident gateway"); } - - Version GetVersion() override - { - return Version("Enables forwarding the real IP address of a user from a gateway to the IRC server", VF_VENDOR); - } }; MODULE_INIT(ModuleCgiIRC) -- cgit v1.3.1-10-gc9f91