forked from KolibriOS/kolibrios
IRC client: dont send empty messages
git-svn-id: svn://kolibrios.org@3563 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6410339384
commit
867abdc948
@ -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 ?
|
||||
|
Loading…
Reference in New Issue
Block a user