aboutsummaryrefslogtreecommitdiffstats
path: root/src/luaevent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/luaevent.c')
-rw-r--r--src/luaevent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luaevent.c b/src/luaevent.c
index c1428c1..bac728b 100644
--- a/src/luaevent.c
+++ b/src/luaevent.c
@@ -4,6 +4,7 @@
#include "luaevent.h"
#include "event_callback.h"
#include "event_buffer.h"
+#include "buffer_event.h"
#include <lua.h>
#include <lauxlib.h>
@@ -121,6 +122,8 @@ int luaopen_luaevent_core(lua_State* L) {
/* Register external items */
event_callback_register(L);
event_buffer_register(L);
+ buffer_event_register(L);
+ lua_settop(L, 0);
/* Setup metatable */
luaL_newmetatable(L, EVENT_BASE_MT);
lua_newtable(L);