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:
+3
-3
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user