diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-12 00:31:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-04-14 01:14:56 +0300 |
commit | 5b502a267b6546ade4adb116d11354f0bf929cbf (patch) | |
tree | cbfe974ab458c6accf7c2db35b2cb1aceb8d7b28 /src/char/int_rodex.c | |
parent | ab81d4012eac5c2c00c485971fc9b89bf69761be (diff) | |
download | hercules-5b502a267b6546ade4adb116d11354f0bf929cbf.tar.gz hercules-5b502a267b6546ade4adb116d11354f0bf929cbf.tar.bz2 hercules-5b502a267b6546ade4adb116d11354f0bf929cbf.tar.xz hercules-5b502a267b6546ade4adb116d11354f0bf929cbf.zip |
Add account id and char id into inter server rodex update packet
Diffstat (limited to 'src/char/int_rodex.c')
-rw-r--r-- | src/char/int_rodex.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/char/int_rodex.c b/src/char/int_rodex.c index 5725c3777..a21629344 100644 --- a/src/char/int_rodex.c +++ b/src/char/int_rodex.c @@ -349,8 +349,11 @@ static int64 inter_rodex_savemessage(struct rodex_message *msg) /*========================================== * Update/Delete mail *------------------------------------------*/ -static bool inter_rodex_updatemail(int64 mail_id, int8 flag) +static bool inter_rodex_updatemail(int fd, int account_id, int char_id, int64 mail_id, uint8 opentype, int8 flag) { + Assert_retr(false, fd >= 0); + Assert_retr(false, account_id > 0); + Assert_retr(false, char_id > 0); Assert_retr(false, mail_id > 0); Assert_retr(false, flag >= 0 && flag <= 4); |