This should have been fixed already.
This commit is contained in:
parent
df62973aff
commit
baad17c4d9
1
TODO
1
TODO
@ -1,3 +1,4 @@
|
|||||||
|
- uid, gid
|
||||||
- multiple on_connect_send
|
- multiple on_connect_send
|
||||||
- keep invites when detached ?
|
- keep invites when detached ?
|
||||||
- allow global (or per net ?) IP filtering
|
- allow global (or per net ?) IP filtering
|
||||||
|
@ -1062,7 +1062,7 @@ int ssl_check_trust(struct link_client *ic)
|
|||||||
WRITE_LINE2(CONN(ic), P_SERV, "NOTICE", "TrustEm",
|
WRITE_LINE2(CONN(ic), P_SERV, "NOTICE", "TrustEm",
|
||||||
"Type /QUOTE BIP TRUST OK to trust this "
|
"Type /QUOTE BIP TRUST OK to trust this "
|
||||||
"certificate, /QUOTE BIP TRUST NO to discard it.");
|
"certificate, /QUOTE BIP TRUST NO to discard it.");
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1091,7 +1091,7 @@ int adm_trust(struct link_client *ic, struct line *line)
|
|||||||
|
|
||||||
if(!LINK(ic)->untrusted_certs ||
|
if(!LINK(ic)->untrusted_certs ||
|
||||||
sk_X509_num(LINK(ic)->untrusted_certs) <= 0) {
|
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",
|
WRITE_LINE2(CONN(ic), P_SERV, "NOTICE", "TrustEm",
|
||||||
"No untrusted certificates.");
|
"No untrusted certificates.");
|
||||||
return ERR_PROTOCOL;
|
return ERR_PROTOCOL;
|
||||||
|
@ -947,7 +947,7 @@ static void create_listening_socket(char *hostname, char *port,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = listen(cn->handle, 1024);
|
err = listen(cn->handle, 256);
|
||||||
if (err == -1) {
|
if (err == -1) {
|
||||||
mylog(LOG_WARN, "listen() : %s", strerror(errno));
|
mylog(LOG_WARN, "listen() : %s", strerror(errno));
|
||||||
close(cn->handle);
|
close(cn->handle);
|
||||||
|
@ -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)
|
if ((ic->state & IRCC_PASS) != IRCC_PASS)
|
||||||
WRITE_LINE2(CONN(ic), P_SERV, "NOTICE", ic->init_nick,
|
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;
|
return OK_FORGET;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user