summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 16:55:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 16:55:45 +0000
commit6fe38c14c157dc155f67baf8ba8e310f7752deb2 (patch)
treeb87fcffbc1bb4e4769ae5f3cf2842999a424d788 /src/modules
parent9b131bef322a4ed592d53e8c8eec8759287944a5 (diff)
This compiles, but note most modules are currently broken, they dont Attach()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8508 e03df62e-2008-0410-955e-edbf42e46eb7
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)