summaryrefslogtreecommitdiff
path: root/lib/rbot/botuser.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-11 17:32:26 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-11 17:32:26 +0000
commita9b32eae21a10254f67653c8ce92076300ba670b (patch)
treed57eb4880b67c79ab7d03a148a9712e12914926d /lib/rbot/botuser.rb
parent51cd66a19fe4b1a3a3cd1dedd5b1f37ab08ccdc8 (diff)
use pretty printing with Logger (debug, info, warning and error messages)
Diffstat (limited to 'lib/rbot/botuser.rb')
-rw-r--r--lib/rbot/botuser.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb
index bed2b627..9a34b341 100644
--- a/lib/rbot/botuser.rb
+++ b/lib/rbot/botuser.rb
@@ -76,7 +76,7 @@ module Irc
k.to_sym
}
@command = path.last
- debug "Created command #{@command.inspect} with path #{@path.join(', ')}"
+ debug "Created command #{@command.inspect} with path #{@path.pretty_inspect}"
end
# Returs self
@@ -427,7 +427,7 @@ module Irc
#
def set_default_permission(cmd, val)
@default_perm.set_permission(Command.new(cmd), val)
- debug "Default permissions now:\n#{@default_perm.inspect}"
+ debug "Default permissions now: #{@default_perm.pretty_inspect}"
end
# default knows everybody