- char *alertchan = get_string_field("General.alertchan");
- if(alertchan) {
- struct ChanNode *channel = getChanByName(alertchan);
- struct ClientSocket *client;
- if(channel && (client = getChannelBot(channel, 0))) {
- putsock(client, "PRIVMSG %s :\00304NeonServ received signal %d (%s). %s", alertchan, signum, signame, coregen);
- }
- }