summaryrefslogtreecommitdiff
path: root/src/echar
diff options
context:
space:
mode:
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);
}