Fixed double print when sending psay to self (bug 5649, r=psychonic).
Fixed double print when sending psay to self (
bug 5649, r=psychonic).
1.1 --- a/plugins/basechat.sp Mon Mar 18 19:53:30 2013 -0400
1.2 +++ b/plugins/basechat.sp Mon Mar 18 19:58:18 2013 -0400
1.3 @@ -323,7 +323,7 @@
1.4 {
1.5 PrintToServer("(Private: %N) %s: %s", target, name, message);
1.6 }
1.7 - else
1.8 + else if (target != client)
1.9 {
1.10 PrintToChat(client, "\x04(Private: %N) %s: \x01%s", target, name, message);
1.11 }