summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-01 23:15:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-01 23:15:31 +0300
commitab46761b4c59c44617e0c257533e2a6d8267675b (patch)
tree275435c66e21e0e844fdf303eadb9a07c6566124 /src/echar
parent1419fc70cba0f3263a15eeac8d58d27dd3af0c69 (diff)
downloadplugin-ab46761b4c59c44617e0c257533e2a6d8267675b.tar.gz
plugin-ab46761b4c59c44617e0c257533e2a6d8267675b.tar.bz2
plugin-ab46761b4c59c44617e0c257533e2a6d8267675b.tar.xz
plugin-ab46761b4c59c44617e0c257533e2a6d8267675b.zip
Add missing post suffix.
Diffstat (limited to 'src/echar')
-rw-r--r--src/echar/char.c2
-rw-r--r--src/echar/char.h2
-rw-r--r--src/echar/init.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index 61bfc9e..28cc7c9 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -196,7 +196,7 @@ void echar_mmo_char_send099d(int *fdPtr, struct char_session_data *sd)
send_additional_slots(*fdPtr, sd);
}
-int echar_mmo_char_send_characters(int retVal, int *fdPtr, struct char_session_data* sd)
+int echar_mmo_char_send_characters_post(int retVal, int *fdPtr, struct char_session_data* sd)
{
send_additional_slots(*fdPtr, sd);
return retVal;
diff --git a/src/echar/char.h b/src/echar/char.h
index c8b05fa..d0873cb 100644
--- a/src/echar/char.h
+++ b/src/echar/char.h
@@ -22,8 +22,6 @@ int echar_mmo_chars_fromsql(struct char_session_data* sd, uint8* buf);
void echar_mmo_char_send099d(int *fdPtr, struct char_session_data *sd);
-int echar_mmo_char_send_characters(int retVal, int *fdPtr, struct char_session_data* sd);
-
void send_additional_slots(int fd, struct char_session_data* sd);
void echar_parse_char_connect_pre(int *fdPtr, struct char_session_data *sd, uint32 *ipl);
diff --git a/src/echar/init.c b/src/echar/init.c
index 0a3c988..16eb493 100644
--- a/src/echar/init.c
+++ b/src/echar/init.c
@@ -55,7 +55,7 @@ HPExport void plugin_init (void)
addHookPre("chr->parse_char_connect", echar_parse_char_connect_pre);
addHookPost("chr->mmo_char_send099d", echar_mmo_char_send099d);
- addHookPost("chr->mmo_char_send_characters", echar_mmo_char_send_characters);
+ addHookPost("chr->mmo_char_send_characters", echar_mmo_char_send_characters_post);
addHookPost("chr->parse_char_connect", echar_parse_char_connect_post);
}