1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 10:26:38 +02:00

We now store a list of users using a NickCore in the NickCore, this prevents having to loop every user all the time to find them

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2780 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2010-02-04 23:49:27 +00:00
parent 3d4cf39940
commit 308070e019
79 changed files with 336 additions and 294 deletions
+3 -3
View File
@@ -62,11 +62,11 @@ NickAlias::~NickAlias()
/* Second thing to do: look for an user using the alias
* being deleted, and make appropriate changes */
if ((u = finduser(this->nick)) && u->nc)
if ((u = finduser(this->nick)) && u->Account())
{
ircdproto->SendAccountLogout(u, u->nc);
ircdproto->SendAccountLogout(u, u->Account());
ircdproto->SendUnregisteredNick(u);
u->nc = NULL;
u->Logout();
}
/* Accept nicks that have no core, because of database load functions */