# HG changeset patch # User unc0rr # Date 1255762978 0 # Node ID 126850aec94da18ff31065369adaa2282697605e # Parent 6ed1fba6da18f4dcfa5d8e452bf1554971869ab4 Don't try to send empty team message diff -r 6ed1fba6da18 -r 126850aec94d hedgewars/uChat.pas --- 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