summaryrefslogtreecommitdiff
path: root/src/hostserv.c
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-22 04:39:22 +0000
committerDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-22 04:39:22 +0000
commit4bf22fa2e6192d2321593377d847ac676af4d856 (patch)
treede065a28cd6b63dc6608b739eb14ab00b545aca4 /src/hostserv.c
parentbcf9852eecc1905632c284e4665c745173c9e9b7 (diff)
added more events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2461 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/hostserv.c')
-rw-r--r--src/hostserv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hostserv.c b/src/hostserv.c
index a385bc14f..86d998ff4 100644
--- a/src/hostserv.c
+++ b/src/hostserv.c
@@ -185,7 +185,7 @@ HostCore *findHostCore(HostCore * phead, const char *nick, bool* found)
if (!nick) {
return NULL;
}
-
+ FOREACH_MOD(I_OnFindHostCore, OnFindHostCore(nick));
while (current != NULL) {
if (stricmp(nick, current->nick) == 0) {
*found = true;
@@ -258,6 +258,7 @@ HostCore *insertHostCore(HostCore * phead, HostCore * prev, const char *nick,
newCore->next = tmp;
}
}
+ FOREACH_MOD(I_OnInsertHostCore, OnInsertHostCore(newCore));
return phead;
}
@@ -274,6 +275,7 @@ HostCore *deleteHostCore(HostCore * phead, HostCore * prev)
tmp = prev->next;
prev->next = tmp->next;
}
+ FOREACH_MOD(I_OnDeleteHostCore, OnDeleteHostCore(tmp));
delete [] tmp->vHost;
delete [] tmp->nick;
delete [] tmp->creator;