diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 06:04:52 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-09 06:04:52 +0000 |
| commit | 1a3a4b275fe6ce3dd894103aa754946c0122b4f2 (patch) | |
| tree | 362a39d9f6ba274350120821775e85fdc111ee77 /src/nickserv.c | |
| parent | a840ef8ae846c294e37952d066a2e0e1b4f72898 (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/nickserv.c')
| -rw-r--r-- | src/nickserv.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nickserv.c b/src/nickserv.c index 6d392210a..7cb98c121 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -451,8 +451,6 @@ NickRequest *findrequestnick(const char *nick) return NULL; } - FOREACH_MOD(I_OnFindRequestNick, OnFindRequestNick(nick)); - for (nr = nrlists[HASH(nick)]; nr; nr = nr->next) { if (stricmp(nr->nick, nick) == 0) @@ -476,8 +474,6 @@ NickAlias *findnick(const char *nick) return NULL; } - FOREACH_MOD(I_OnFindNick, OnFindNick(nick)); - for (na = nalists[HASH(nick)]; na; na = na->next) { if (stricmp(na->nick, nick) == 0) @@ -508,8 +504,6 @@ NickCore *findcore(const char *nick) return NULL; } - FOREACH_MOD(I_OnFindCore, OnFindCore(nick)); - for (nc = nclists[HASH(nick)]; nc; nc = nc->next) { if (stricmp(nc->display, nick) == 0) |
