1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 20:13:13 +02:00

Expire unconfirmed nicks, forgot to add this earlier..

This commit is contained in:
Adam
2011-03-05 22:00:27 -05:00
parent ef0c095712
commit 48e6221cf0
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ NickAlias::~NickAlias()
/* Second thing to do: look for a user using the alias
* being deleted, and make appropriate changes */
User *u = finduser(this->nick);
if (u && u->Account())
if (u && u->Account() == this->nc)
{
ircdproto->SendAccountLogout(u, u->Account());
u->RemoveMode(NickServ, UMODE_REGISTERED);