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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user