summaryrefslogtreecommitdiff
path: root/modules/extra/ns_maxemail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/ns_maxemail.cpp')
-rw-r--r--modules/extra/ns_maxemail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/ns_maxemail.cpp b/modules/extra/ns_maxemail.cpp
index 18be74bce..2ffe52398 100644
--- a/modules/extra/ns_maxemail.cpp
+++ b/modules/extra/ns_maxemail.cpp
@@ -59,7 +59,7 @@ class NSMaxEmail : public Module
this->SetAuthor("Anope");
Implementation i[] = { I_OnReload, I_OnPreCommand };
- ModuleManager::Attach(i, this, 2);
+ ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
OnReload();
}