diff -r a9126661f613 -r 344b0dbd9690 hedgewars/uChat.pas --- a/hedgewars/uChat.pas Fri Apr 20 23:03:20 2012 +0400 +++ b/hedgewars/uChat.pas Sat Apr 21 19:51:13 2012 +0400 @@ -388,11 +388,11 @@ procedure initModule; var i: ShortInt; begin - RegisterVariable('chatmsg', vtCommand, @chChatMessage, true); - RegisterVariable('say', vtCommand, @chSay, true); - RegisterVariable('team', vtCommand, @chTeamSay, true); - RegisterVariable('history', vtCommand, @chHistory, true ); - RegisterVariable('chat', vtCommand, @chChat, true ); + RegisterVariable('chatmsg', @chChatMessage, true); + RegisterVariable('say', @chSay, true); + RegisterVariable('team', @chTeamSay, true); + RegisterVariable('history', @chHistory, true ); + RegisterVariable('chat', @chChat, true ); lastStr:= 0; visibleCount:= 0;