From 8fe22c33bfee09e32c4de307712678c871c6ddf8 Mon Sep 17 00:00:00 2001 From: Peace-Maker Date: Mon, 18 Mar 2013 19:58:18 -0400 Subject: [PATCH] Fixed double print when sending psay to self (bug 5649, r=psychonic). --- plugins/basechat.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/basechat.sp b/plugins/basechat.sp index 4e58ea2f..469768e9 100644 --- a/plugins/basechat.sp +++ b/plugins/basechat.sp @@ -323,7 +323,7 @@ public Action:Command_SmPsay(client, args) { PrintToServer("(Private: %N) %s: %s", target, name, message); } - else + else if (target != client) { PrintToChat(client, "\x04(Private: %N) %s: \x01%s", target, name, message); }