diff options
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -23,6 +23,7 @@ static void consume_event(const struct event_item *event){ case EVENT_MESSAGE: pe.type=PLUGIN_EVENT_MESSAGE; break; case EVENT_ONLINE: pe.type=PLUGIN_EVENT_ONLINE; break; case EVENT_JOIN: pe.type=PLUGIN_EVENT_JOIN; break; + case EVENT_LEAVE: pe.type=PLUGIN_EVENT_LEAVE; break; default: die("Unknown event type %d in plugin.c:consume_event",event->type); } |