From 867abdc9488e124c2f6799d64933ebb22e7a154c Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Wed, 29 May 2013 08:47:31 +0000 Subject: [PATCH] IRC client: dont send empty messages git-svn-id: svn://kolibrios.org@3563 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/ircc/userparser.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/programs/network/ircc/userparser.inc b/programs/network/ircc/userparser.inc index bddfdb34a0..e106c87ff5 100644 --- a/programs/network/ircc/userparser.inc +++ b/programs/network/ircc/userparser.inc @@ -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 ?