--- a/hedgewars/uChat.pas Sat Oct 17 06:18:51 2009 +0000
+++ b/hedgewars/uChat.pas Sat Oct 17 07:02:58 2009 +0000
@@ -204,7 +204,7 @@
exit
end;
-if copy(s, 1, 6) = '/team ' then
+if (copy(s, 1, 6) = '/team ') and (length(s) > 6) then
begin
ParseCommand(s, true);
exit