summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-09 06:04:52 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-09 06:04:52 +0000
commit1a3a4b275fe6ce3dd894103aa754946c0122b4f2 (patch)
tree362a39d9f6ba274350120821775e85fdc111ee77 /src/users.c
parenta840ef8ae846c294e37952d066a2e0e1b4f72898 (diff)
Removed the OnFind events, they are not necessary anymore and just waste CPU
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2872 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/users.c b/src/users.c
index 71fd5e8b1..219ccadcd 100644
--- a/src/users.c
+++ b/src/users.c
@@ -476,7 +476,6 @@ User *finduser(const std::string &nick)
while (user && ci_nick != user->nick)
user = user->next;
Alog(LOG_DEBUG_3) << "finduser(" << nick << ") -> " << static_cast<void *>(user);
- FOREACH_MOD(I_OnFindUser, OnFindUser(user));
return user;
}
@@ -691,7 +690,6 @@ User *find_byuid(const std::string &uid)
while (u) {
next = next_uid();
if (u->GetUID() == uid) {
- FOREACH_MOD(I_OnFindUser, OnFindUser(u));
return u;
}
u = next;