summaryrefslogtreecommitdiff
path: root/lib/rbot/messagemapper.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/messagemapper.rb
parent51cd66a19fe4b1a3a3cd1dedd5b1f37ab08ccdc8 (diff)
use pretty printing with Logger (debug, info, warning and error messages)
Diffstat (limited to 'lib/rbot/messagemapper.rb')
-rw-r--r--lib/rbot/messagemapper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/messagemapper.rb b/lib/rbot/messagemapper.rb
index b9aad91a..3d49e918 100644
--- a/lib/rbot/messagemapper.rb
+++ b/lib/rbot/messagemapper.rb
@@ -267,7 +267,7 @@ module Irc
else
reg = nil
end
- "<#{self.class.to_s}%s%s%s%s>" % [name, mul, opt, reg]
+ "<%s %s%s%s%s>" % [self.class, name, mul, opt, reg]
end
end