Changes in irc.c [7320610:345577b]
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r7320610 r345577b 129 129 s = set_add(&b->set, "show_offline", "false", set_eval_bw_compat, irc); 130 130 s->flags |= SET_HIDDEN; 131 s = set_add(&b->set, "self_messages", "true", set_eval_self_messages, irc); 131 132 s = set_add(&b->set, "simulate_netsplit", "true", set_eval_bool, irc); 132 133 s = set_add(&b->set, "timezone", "local", set_eval_timezone, irc); … … 153 154 set_eval_charset(set_find(&b->set, "charset"), set_getstr(&b->set, "charset")); 154 155 155 irc_write(irc, ":%s NOTICE AUTH:%s", irc->root->host, "BitlBee-IRCd initialized, please go on");156 irc_write(irc, ":%s NOTICE * :%s", irc->root->host, "BitlBee-IRCd initialized, please go on"); 156 157 if (isatty(irc->fd)) { 157 irc_write(irc, ":%s NOTICE AUTH:%s", irc->root->host,158 irc_write(irc, ":%s NOTICE * :%s", irc->root->host, 158 159 "If you read this, you most likely accidentally " 159 160 "started BitlBee in inetd mode on the command line. " … … 380 381 conv = NULL; 381 382 } else { 382 irc_write(irc, ":%s NOTICE AUTH:%s", irc->root->host,383 irc_write(irc, ":%s NOTICE * :%s", irc->root->host, 383 384 "Warning: invalid characters received at login time."); 384 385 … … 727 728 int irc_check_login(irc_t *irc) 728 729 { 729 if (irc->user->user && irc->user->nick ) {730 if (irc->user->user && irc->user->nick && !(irc->status & USTATUS_CAP_PENDING)) { 730 731 if (global.conf->authmode == AUTHMODE_CLOSED && !(irc->status & USTATUS_AUTHORIZED)) { 731 732 irc_send_num(irc, 464, ":This server is password-protected.");
Note: See TracChangeset
for help on using the changeset viewer.