summaryrefslogtreecommitdiff
path: root/src/map/npc_chat.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-02-08 04:50:58 +0100
committerHaru <haru@dotalux.com>2014-02-08 04:51:12 +0100
commitf2383946d9e52f61844a9f6e3ec679c99f697e04 (patch)
tree9544a3c286ad4f66fbd3a0b17af1dfc9db1a14bd /src/map/npc_chat.c
parente4a1ca28de80e221198854b745be71d256e1f7b1 (diff)
downloadhercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.tar.gz
hercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.tar.bz2
hercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.tar.xz
hercules-f2383946d9e52f61844a9f6e3ec679c99f697e04.zip
Added get_substring to the libpcre interface
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/npc_chat.c')
-rw-r--r--src/map/npc_chat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/npc_chat.c b/src/map/npc_chat.c
index 896bbae5b..9d5639efc 100644
--- a/src/map/npc_chat.c
+++ b/src/map/npc_chat.c
@@ -440,6 +440,7 @@ void npc_chat_defaults(void) {
libpcre->copy_substring = pcre_copy_substring;
libpcre->free_substring = pcre_free_substring;
libpcre->copy_named_substring = pcre_copy_named_substring;
+ libpcre->get_substring = pcre_get_substring;
}
#endif //PCRE_SUPPORT