From c2a4199c00da51fd0b6e88a440be4d6b654b9382 Mon Sep 17 00:00:00 2001 From: Samual Date: Fri, 30 Dec 2011 01:10:32 -0500 Subject: [PATCH] Don't allow sending tell messages to yourself anymore :P --- qcsrc/server/command/cmd.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index 9fedd46bb..efdbe95e6 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -503,12 +503,12 @@ void ClientCommand_tell(float request, float argc, string command) if(tell_accepted > 0) // the target is a real client { - //if(tell_to != self) // and we're allowed to send to them :D - //{ + if(tell_to != self) // and we're allowed to send to them :D + { Say(self, FALSE, tell_to, substring(command, argv_start_index(next_token), argv_end_index(-1) - argv_start_index(next_token)), TRUE); return; - //} - //else { print_to(self, "You can't ^2tell^7 a message to yourself."); return; } + } + else { print_to(self, "You can't ^2tell^7 a message to yourself."); return; } } else if(strtolower(argv(1)) == "world") { -- 2.39.2