diff options
author | Adam <Adam@anope.org> | 2011-03-14 13:52:26 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-14 13:52:26 -0400 |
commit | ed73d7675152ccc66f20daedca8586a8de254a84 (patch) | |
tree | 18f7a1a53a717f24d061550c6670ca6f0ed54f9f /src/nickserv.cpp | |
parent | 4fe49af8401b956249d924b89b3e69bce5fb6744 (diff) |
Rewrote some of the opertype system, added os_login
Diffstat (limited to 'src/nickserv.cpp')
-rw-r--r-- | src/nickserv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nickserv.cpp b/src/nickserv.cpp index fb1e52819..0c036f564 100644 --- a/src/nickserv.cpp +++ b/src/nickserv.cpp @@ -185,12 +185,14 @@ int validate_user(User *u) u->Collide(na); return 0; } + if (!u->IsIdentified() && !u->fingerprint.empty() && na->nc->FindCert(u->fingerprint)) { u->SendMessage(NickServ, _("SSL Fingerprint accepted, you are now identified")); u->Identify(na); return 1; } + if (!na->nc->HasFlag(NI_SECURE) && u->IsRecognized()) { na->last_seen = Anope::CurTime; |