IRC client: dont send empty messages

git-svn-id: svn://kolibrios.org@3563 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-05-29 08:47:31 +00:00
parent 6410339384
commit 867abdc948

View File

@ -13,6 +13,8 @@
user_parser:
mov eax, [edit1.size]
test eax, eax
jz sdts_ret ; ignore empty commands
mov word [usercommand + eax], 0x0a0d ; terminate the line
cmp byte[usercommand], '/' ; is it a server command ?