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