summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-10-28 09:30:20 +0100
committerRobby- <robby@chat.be>2013-10-28 09:30:20 +0100
commit498da95205556995cfd81bddab3657fc294125c0 (patch)
tree0c0977f54b1dc9459e0311cc0ee7246219161747
parent710d4848bd7c42fbd203d976aadd7044fdc6d8c7 (diff)
Stop requesting identification when changing nicks to a registered nick, and the current client certificate fingerprint matches one on the nickname's list.
-rw-r--r--modules/pseudoclients/nickserv.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/pseudoclients/nickserv.cpp b/modules/pseudoclients/nickserv.cpp
index 69a871514..4c512b427 100644
--- a/modules/pseudoclients/nickserv.cpp
+++ b/modules/pseudoclients/nickserv.cpp
@@ -151,6 +151,8 @@ class NickServCore : public Module, public NickServService
this->Collide(u, na);
return;
}
+ else if (MOD_RESULT == EVENT_ALLOW)
+ return;
if (!na->nc->HasExt("NS_SECURE") && u->IsRecognized())
{