lib/protonbot/plug_io.rb in protonbot-0.3.3 vs lib/protonbot/plug_io.rb in protonbot-0.3.4

- old
+ new

@@ -5,10 +5,10 @@ if s = @sock.gets s = s.force_encoding(@conf['encoding']) s = s[0..-3] log.info "R > #{s}" begin - emit(type: :raw, raw_data: s.clone, plug: self, db: db, bot: bot, core: bot.plugins['core']) + emit(type: :raw, raw_data: s.clone, plug: self, db: db, bot: bot) rescue => e log_err(e) end else @running = false