summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-07-31 06:24:24 -0400
committerAdam <Adam@anope.org>2011-07-31 06:24:24 -0400
commit63a4201d15b041edf0dc029b46684a2ec01ff75b (patch)
tree9362674982818e3f4146382b3df91dfcd8530bce /modules/protocol/plexus.cpp
parentb751800ff44529d5ce4d7b6f9482565bd01bea55 (diff)
Fixed these ModuleManager::Attach calls once and for all..
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index baec79fda..8f1a74cf9 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -659,7 +659,7 @@ class ProtoPlexus : public Module
this->AddModes();
Implementation i[] = { I_OnServerSync };
- ModuleManager::Attach(i, this, 1);
+ ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
if (Config->Numeric.empty())
throw ModuleException("This IRCd protocol requires a server id to be set in Anope's configuration.");