Changeset 1682
- Timestamp:
- 02/18/10 13:05:51 (7 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
modules/nickserv.c (modified) (1 diff)
-
src/interface.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/nickserv.c
r1681 r1682 2072 2072 { 2073 2073 if(!nickname_cert_check(nick, certfp, NULL)) 2074 send_auth_reply(nickserv, user, n, 0, "CertFP Mismatch"); 2074 { 2075 if(!check_nick_pass(NULL, nick, certfp)) 2076 send_auth_reply(nickserv, user, n, 0, "Authentication Failed"); 2077 else 2078 send_auth_reply(nickserv, user, n, 1, "Success"); 2079 } 2075 2080 else 2076 2081 send_auth_reply(nickserv, user, n, 1, "Success"); -
trunk/src/interface.c
r1681 r1682 1691 1691 len = strlen(password) + SALTLEN + 1; 1692 1692 1693 if( *client->certfp != '\0')1693 if(client && *client->certfp != '\0') 1694 1694 { 1695 1695 if(nickname_cert_check(nick, client->certfp, NULL))
