summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_auditorium.cpp2
-rw-r--r--src/modules/m_banexception.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index 06aaf38e6..61c00c158 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -60,7 +60,7 @@ class ModuleAuditorium : public Module
OnRehash(NULL, "");
Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnUserQuit, I_OnUserList, I_OnRehash };
- Me->Modules->Attach(eventlist, this, sizeof(eventlist));
+ Me->Modules->Attach(eventlist, this, 6);
}
virtual ~ModuleAuditorium()
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index b53c70a29..cacba3150 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -52,7 +52,7 @@ public:
//be->DoImplements(List);
Implementation list[] = { I_OnRehash, I_OnRequest, I_On005Numeric, I_OnCheckBan };
- Me->Modules->Attach(list, this, sizeof(list));
+ Me->Modules->Attach(list, this, 4);
}
virtual void On005Numeric(std::string &output)