From 447021e849b90e0c3e14f50237ad68454cde0b23 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Mon, 22 Jun 2015 19:13:57 +0200 Subject: [PATCH] Fix RegisterGroupEvent hooks Thanks to Grandelf, see http://emudevs.com/showthread.php/4953 for more info. --- GlobalMethods.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GlobalMethods.h b/GlobalMethods.h index 22a12a9..3da06ee 100644 --- a/GlobalMethods.h +++ b/GlobalMethods.h @@ -752,8 +752,7 @@ namespace LuaGlobalFunctions */ int RegisterGroupEvent(Eluna* E, lua_State* L) { - RegisterEventHelper(E, L, Hooks::REGTYPE_GROUP); - return 0; + return RegisterEventHelper(E, L, Hooks::REGTYPE_GROUP); } /**