From 130fa2ce2b2efe37307faeeefcc176cdffca8340 Mon Sep 17 00:00:00 2001 From: Cydh Ramdh Date: Tue, 9 Dec 2014 13:51:14 +0700 Subject: [PATCH] Follow up 47e3308, these lines shouldn't be changed. Signed-off-by: Cydh Ramdh --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/map/atcommand.c b/src/map/atcommand.c index a3a2bd99b90..3b7d1e5bfd3 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2950,8 +2950,8 @@ ACMD_FUNC(char_ban) } if( timediff < 0 && ( - (bantype == CHRIF_OP_LOGIN_BAN && !pc_can_use_command(sd, parent_cmd, COMMAND_ATCOMMAND)) - || (bantype == CHRIF_OP_BAN && !pc_can_use_command(sd, parent_cmd, COMMAND_ATCOMMAND)) + (bantype == CHRIF_OP_LOGIN_BAN && !pc_can_use_command(sd, "unban", COMMAND_ATCOMMAND)) + || (bantype == CHRIF_OP_BAN && !pc_can_use_command(sd, "charunban", COMMAND_ATCOMMAND)) )) { clif_displaymessage(fd,msg_txt(sd,1023)); // You are not allowed to alter the time of a ban.