summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-10 20:30:41 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-10 20:33:26 +0300
commitebf09a72221e05de9cd60e3df806f54e29329f4c (patch)
tree5e146cc81c971d40586cf8d464844679d078c6da /src/map/init.c
parented39e0835a4afc21335bac2ab3cb8c974c371da0 (diff)
downloadevol-hercules-ebf09a72221e05de9cd60e3df806f54e29329f4c.tar.gz
evol-hercules-ebf09a72221e05de9cd60e3df806f54e29329f4c.tar.bz2
evol-hercules-ebf09a72221e05de9cd60e3df806f54e29329f4c.tar.xz
evol-hercules-ebf09a72221e05de9cd60e3df806f54e29329f4c.zip
Add support for sending group id to client.
Add permission send_gm_flag.
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 3219c61..22bb403 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -41,6 +41,7 @@
#include "map/npc.h"
#include "map/unit.h"
#include "map/parse.h"
+#include "map/permission.h"
#include "map/pc.h"
#include "map/quest.h"
#include "map/script.h"
@@ -184,6 +185,7 @@ HPExport void server_preinit (void)
setDefaultMap();
addHookPre("quest->read_db", equest_read_db);
+ addGroupPermission("send_gm_flag", permission_send_gm_flag);
}
HPExport void server_online (void)