bug #4387: skip messages with empty actions

(cherry picked from commit ea86b2a9b1)
This commit is contained in:
Javi Fontan committed 2016-03-30 15:36:32 +02:00
1 parent d62e6ec0c4
commit 4cc3d4e738
1 file changed
+5
+5
View File
@@ -184,6 +184,11 @@ private
args = str.split(/\s+/)
next if args.length == 0
if args.first.empty?
STDERR.puts "Malformed message: #{str.inspect}"
next
end
action = args.shift.upcase.to_sym
if (args.length == 0) || (!args[0])