die on disconnect
Este commit está contenido en:
padre
e88a26ceae
commit
43d31d6b79
13
source/bot.h
13
source/bot.h
@ -189,6 +189,19 @@ void event_connect(irc_session_t * session,
|
||||
}
|
||||
|
||||
static
|
||||
void event_disconnect(irc_session_t * session,
|
||||
const char * event,
|
||||
const char * origin,
|
||||
const char ** params,
|
||||
unsigned int count) {
|
||||
(void)event;
|
||||
(void)origin;
|
||||
(void)params;
|
||||
(void)count;
|
||||
raise(SIGSEGV);
|
||||
}
|
||||
|
||||
static
|
||||
void event_privmsg(irc_session_t * session,
|
||||
const char * event,
|
||||
const char * origin,
|
||||
|
Cargando…
Referencia en una nueva incidencia
Block a user