summaryrefslogtreecommitdiff
path: root/modules/core/ns_getemail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ns_getemail.cpp')
-rw-r--r--modules/core/ns_getemail.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/core/ns_getemail.cpp b/modules/core/ns_getemail.cpp
index 8f80a5cdf..0bd6c8fb2 100644
--- a/modules/core/ns_getemail.cpp
+++ b/modules/core/ns_getemail.cpp
@@ -74,10 +74,9 @@ class NSGetEMail : public Module
{
CommandNSGetEMail commandnsgetemail;
public:
- NSGetEMail(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
+ NSGetEMail(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE)
{
this->SetAuthor("Anope");
- this->SetType(CORE);
if (!nickserv)
throw ModuleException("NickServ is not loaded!");