aboutsummaryrefslogtreecommitdiff
path: root/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.c')
-rw-r--r--plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin.c b/plugin.c
index 14dce01..58c79f3 100644
--- a/plugin.c
+++ b/plugin.c
@@ -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);
}