bug #4387: skip messages with empty actions

This commit is contained in:
Javi Fontan committed 2016-03-30 15:35:10 +02:00
1 parent 11432a1545
commit ea86b2a9b1
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])