OSDN Git Service

- shogi_server/command.rb: For an unknown error command log, an empty line is no...
[shogi-server/shogi-server.git] / shogi_server / command.rb
index d661f90..daf501f 100644 (file)
@@ -693,7 +693,7 @@ module ShogiServer
     end
 
     def call
-      msg = "##[ERROR] unknown command %s\n" % [@str]
+      msg = "##[ERROR] unknown command %s\n" % [@str.chomp]
       @player.write_safe(msg)
       log_error(msg)
       return :continue