From 24ff7c3a01fade030e445226c043d190d925dac3 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 16 Aug 2008 06:16:29 +0000 Subject: [PATCH] Fixed amb1288: amx_banip did not show time (patch from "James") --- plugins/admincmd.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index 148dc897..4d391fdf 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -457,11 +457,11 @@ public cmdBan(id, level, cid) len += formatex(msg[len], charsmax(msg) - len, " %s ", name2); if (nNum) { - formatex(msg[len], charsmax(msg) - len, "%L", i, "FOR_MIN", minutes); + len += formatex(msg[len], charsmax(msg) - len, "%L", i, "FOR_MIN", minutes); } else { - formatex(msg[len], charsmax(msg) - len, "%L", i, "PERM"); + len += formatex(msg[len], charsmax(msg) - len, "%L", i, "PERM"); } if (strlen(reason) > 0) {