Fix RegisterGroupEvent hooks

Thanks to Grandelf, see http://emudevs.com/showthread.php/4953 for more info.
This commit is contained in:
Foereaper
2015-06-22 19:13:57 +02:00
parent d4ca8bddda
commit 447021e849

View File

@@ -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);
}
/**