forked from bip/bip
1
0
Fork 0

This should have been fixed already.

This commit is contained in:
nohar 2006-04-20 12:49:50 +00:00
parent df62973aff
commit baad17c4d9
4 changed files with 5 additions and 4 deletions

1
TODO
View File

@ -1,3 +1,4 @@
- uid, gid
- multiple on_connect_send
- keep invites when detached ?
- allow global (or per net ?) IP filtering

View File

@ -1062,7 +1062,7 @@ int ssl_check_trust(struct link_client *ic)
WRITE_LINE2(CONN(ic), P_SERV, "NOTICE", "TrustEm",
"Type /QUOTE BIP TRUST OK to trust this "
"certificate, /QUOTE BIP TRUST NO to discard it.");
return 1;
}
@ -1091,7 +1091,7 @@ int adm_trust(struct link_client *ic, struct line *line)
if(!LINK(ic)->untrusted_certs ||
sk_X509_num(LINK(ic)->untrusted_certs) <= 0) {
/* shouldn't have been asked to /QUOTE TRUST but well... */
/* shouldn't have been asked to /QUOTE BIP TRUST but well... */
WRITE_LINE2(CONN(ic), P_SERV, "NOTICE", "TrustEm",
"No untrusted certificates.");
return ERR_PROTOCOL;

View File

@ -947,7 +947,7 @@ static void create_listening_socket(char *hostname, char *port,
continue;
}
err = listen(cn->handle, 1024);
err = listen(cn->handle, 256);
if (err == -1) {
mylog(LOG_WARN, "listen() : %s", strerror(errno));
close(cn->handle);

View File

@ -845,7 +845,7 @@ static int irc_cli_nick(struct link_client *ic, struct line *line, list_t *cl)
if ((ic->state & IRCC_PASS) != IRCC_PASS)
WRITE_LINE2(CONN(ic), P_SERV, "NOTICE", ic->init_nick,
"You should type /QUOTE PASS your_username:your_password:your_connection_name");
"You should type /QUOTE BIP PASS your_username:your_password:your_connection_name");
return OK_FORGET;
}