diff options
author | Adam <Adam@anope.org> | 2011-04-06 10:13:03 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-04-06 10:13:03 -0400 |
commit | 9535541f5aabeae845cc14e407dad29ed023b33d (patch) | |
tree | 4b41c0b3a0c066b466c772662bb58de871b08bae | |
parent | 711a570d241912d0e2ab1ff26c894f3abd379266 (diff) |
Fixed setting +r on nick ownership, lost somewhere in revision fbae33
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 4d9246a14..f2206be7f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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); |