1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 22:06:39 +02:00

Fixed setting +r on nick ownership, lost somewhere in revision fbae33

This commit is contained in:
Adam
2011-04-06 10:13:03 -04:00
parent 711a570d24
commit 9535541f5a
+2 -1
View File
@@ -354,7 +354,8 @@ void User::Identify(NickAlias *na)
ircdproto->SendAccountLogin(this, this->Account());
ircdproto->SetAutoIdentificationToken(this);
if (na->nc->HasFlag(NI_UNCONFIRMED) == false)
NickAlias *this_na = findnick(this->nick);
if (this_na && this_na->nc == na->nc && this_na->nc->HasFlag(NI_UNCONFIRMED) == false)
this->SetMode(NickServ, UMODE_REGISTERED);
if (ircd->vhost)
do_on_id(this);