configuration-in-hiera
Robert Gerus 2015-04-16 10:58:22 +02:00
parent f2b7c280ed
commit fd8108e0e5
1 changed files with 3 additions and 1 deletions

View File

@ -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
}