summaryrefslogtreecommitdiff
path: root/src/modules/m_autoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_autoop.cpp')
-rw-r--r--src/modules/m_autoop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_autoop.cpp b/src/modules/m_autoop.cpp
index e3adfdfe0..07dca6929 100644
--- a/src/modules/m_autoop.cpp
+++ b/src/modules/m_autoop.cpp
@@ -93,7 +93,7 @@ public:
mh.DoImplements(this);
Implementation list[] = { I_OnPostJoin, };
- ServerInstance->Modules->Attach(list, this, 1);
+ ServerInstance->Modules->Attach(list, this, sizeof(list)/sizeof(Implementation));
}
void OnPostJoin(Membership *memb)