aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_maphide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_maphide.cpp')
-rw-r--r--src/modules/m_maphide.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/modules/m_maphide.cpp b/src/modules/m_maphide.cpp
index 9ef7c5894..bde1fd1d2 100644
--- a/src/modules/m_maphide.cpp
+++ b/src/modules/m_maphide.cpp
@@ -26,8 +26,15 @@
class ModuleMapHide : public Module
{
+ private:
std::string url;
+
public:
+ ModuleMapHide()
+ : Module(VF_VENDOR, "Replaces the output of the MAP and LINKS commands with an URL")
+ {
+ }
+
void ReadConfig(ConfigStatus& status) override
{
url = ServerInstance->Config->ConfValue("security")->getString("maphide");
@@ -43,11 +50,6 @@ class ModuleMapHide : public Module
else
return MOD_RES_PASSTHRU;
}
-
- Version GetVersion() override
- {
- return Version("Replaces the output of the MAP and LINKS commands with an URL", VF_VENDOR);
- }
};
MODULE_INIT(ModuleMapHide)