hedgewars/uChat.pas
changeset 2403 6c5d504af2ba
parent 2397 2ca4ca6b4bab
child 2500 31ba68a50208
--- a/hedgewars/uChat.pas	Fri Oct 02 18:56:54 2009 +0000
+++ b/hedgewars/uChat.pas	Sat Oct 03 09:35:14 2009 +0000
@@ -206,7 +206,7 @@
 
 if copy(s, 1, 6) = '/team ' then
     begin
-    ParseCommand('/team ' + char(LocalClan) + UserNick + '(team): '+copy(s, 7, Length(s)-6), true);
+    ParseCommand(s, true);
     exit
     end;
 if (s[1] = '/') and (copy(s, 1, 4) <> '/me ') then