From fd8108e0e58d771d42bcf9925b26e6d123339171 Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Thu, 16 Apr 2015 10:58:22 +0200 Subject: [PATCH] whoopsie --- plugins/pretty_print.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/pretty_print.rb b/plugins/pretty_print.rb index dfaab59..1aaa7e8 100644 --- a/plugins/pretty_print.rb +++ b/plugins/pretty_print.rb @@ -1,5 +1,7 @@ +require 'pp' + include EventMachine::IRC::Commands Client.register_trigger("PRIVMSG", "pretty_print") { |msg| - pp msg + puts Time.now.to_s + msg.pretty_inspect }