summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-25 04:05:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-25 04:05:15 +0300
commit2fe03b9dd2747c18afd89abd7440c7cb49b7efe5 (patch)
treee78c752b6d772b9b91e63d60d09bc9af70e025e8 /src/emap/init.c
parent962383f1e1b62b667b982d0d923db1b6fdd5b833 (diff)
downloadplugin-2fe03b9dd2747c18afd89abd7440c7cb49b7efe5.tar.gz
plugin-2fe03b9dd2747c18afd89abd7440c7cb49b7efe5.tar.bz2
plugin-2fe03b9dd2747c18afd89abd7440c7cb49b7efe5.tar.xz
plugin-2fe03b9dd2747c18afd89abd7440c7cb49b7efe5.zip
Allow use colored messages in chat, even if # already used for gm commands.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 4e63623..c92f503 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -188,6 +188,7 @@ HPExport void plugin_init (void)
addHookPre("pc->dropitem", epc_dropitem_pre);
addHookPre("pc->takeitem", epc_takeitem_pre);
addHookPre("pc->insert_card", epc_insert_card_pre);
+ addHookPre("pc->process_chat_message", epc_process_chat_message_pre);
addHookPre("mob->deleteslave_sub", emob_deleteslave_sub);
addHookPre("mob->read_db_additional_fields", emob_read_db_additional_fields);
addHookPre("npc->parse_unknown_mapflag", enpc_parse_unknown_mapflag);