Fixed double print when sending psay to self (bug 5649, r=psychonic).
authorPeace-Maker <januk@freenet.de>
Mon Mar 18 19:58:18 2013 -0400 (2013-03-18)
changeset 3849a0a045ca6d6a
parent 3848 7d02e32ac0ae
child 3850 3a72196e1a0f
Fixed double print when sending psay to self (bug 5649, r=psychonic).
plugins/basechat.sp
     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  	}