die on disconnect

This commit is contained in:
anon 2023-12-29 15:25:48 +01:00
parent e88a26ceae
commit 43d31d6b79

View File

@ -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,