lib/steam/handler/collection.rb in steamrb-0.1.0 vs lib/steam/handler/collection.rb in steamrb-0.1.1

- old
+ new

@@ -20,10 +20,11 @@ # @param packet [Networking::Packet] the packet to handle def handle(packet) handler = find_handler(packet.msg_type) if handler.nil? - Steam.logger.debug("No hander found for: #{EMsgUtil.new(packet.emsg).name}") + emsg = EMsgUtil.new(packet.emsg) + Steam.logger.debug("No hander found for: #{emsg.name}") return false end handler.handle(packet) end