summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-02 22:30:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-02 22:30:37 +0000
commit697098bb47651b40ed9c768361d1a3b1ca452856 (patch)
treef1c33cb66290f61ac0a6a0c65e8804b2b053282b /src/modules
parenta95616f608aefc38250a620087639dcc6407567f (diff)
The module hook is kinda required.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10615 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_auditorium.cpp4
-rw-r--r--src/modules/m_delayjoin.cpp4
-rw-r--r--src/modules/m_invisible.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp
index f898c19c9..26dd9d43f 100644
--- a/src/modules/m_auditorium.cpp
+++ b/src/modules/m_auditorium.cpp
@@ -63,8 +63,8 @@ class ModuleAuditorium : public Module
OnRehash(NULL, "");
- Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnUserQuit, I_OnNamesListItem, I_OnRehash };
- Me->Modules->Attach(eventlist, this, 6);
+ Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnUserQuit, I_OnNamesListItem, I_OnRehash, I_OnHostCycle };
+ Me->Modules->Attach(eventlist, this, 7);
}
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp
index 23e6317ad..7ecc81a0e 100644
--- a/src/modules/m_delayjoin.cpp
+++ b/src/modules/m_delayjoin.cpp
@@ -36,8 +36,8 @@ class ModuleDelayJoin : public Module
djm = new DelayJoinMode(ServerInstance, this);
if (!ServerInstance->Modes->AddMode(djm))
throw ModuleException("Could not add new modes!");
- Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnUserQuit, I_OnNamesListItem, I_OnText };
- ServerInstance->Modules->Attach(eventlist, this, 6);
+ Implementation eventlist[] = { I_OnUserJoin, I_OnUserPart, I_OnUserKick, I_OnUserQuit, I_OnNamesListItem, I_OnText, I_OnHostCycle };
+ ServerInstance->Modules->Attach(eventlist, this, 7);
}
virtual ~ModuleDelayJoin();
virtual Version GetVersion();
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp
index 6a1dd700d..36257818e 100644
--- a/src/modules/m_invisible.cpp
+++ b/src/modules/m_invisible.cpp
@@ -169,8 +169,8 @@ class ModuleInvisible : public Module
/* Yeah i know people can take this out. I'm not about to obfuscate code just to be a pain in the ass. */
ServerInstance->Users->ServerNoticeAll("*** m_invisible.so has just been loaded on this network. For more information, please visit http://inspircd.org/wiki/Modules/invisible");
- Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_OnUserJoin, I_OnUserPart, I_OnUserQuit, I_OnRehash };
- ServerInstance->Modules->Attach(eventlist, this, 6);
+ Implementation eventlist[] = { I_OnUserPreMessage, I_OnUserPreNotice, I_OnUserJoin, I_OnUserPart, I_OnUserQuit, I_OnRehash, I_OnHostCycle };
+ ServerInstance->Modules->Attach(eventlist, this, 7);
};
virtual ~ModuleInvisible()