示例#1
0
文件: irc-servers.c 项目: dgl/irssi
static void event_motd(IRC_SERVER_REC *server, const char *data, const char *from)
{
	if (server->connected)
		return;

	/* Stupid broken piece of shit ircd didn't send us 001,
	   you'd think they could at least get that right??
	   But no, then I'll have to go and add these idiotic kludges
	   to make them work. Maybe I should instead get the users of these
	   servers to complain about it to their admins.

	   Oh, and looks like it also doesn't answer anything to PINGs,
	   disable lag checking. */
        server->disable_lag = TRUE;
	event_connected(server, data, from);
}
示例#2
0
void IRC_Session::on_connected() {
    ChanList["status"]->append("CONNECTED",host(),"Connection Established..");
    emit event_connected(this);
    return;
}