summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/seen.rb
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-02-22 18:39:33 +0200
committerRaine Virta <rane@kapsi.fi>2009-02-26 01:09:20 +0200
commitd902c4cd6d0a9b359111441f6920eb031833b0ab (patch)
tree491d4d5e6c4af9bd9604c701d4339f97b9f4df11 /data/rbot/plugins/seen.rb
parentcae7568bdfb07be564562edb49343c74762c5daa (diff)
seen: add part message if any
Diffstat (limited to 'data/rbot/plugins/seen.rb')
-rw-r--r--data/rbot/plugins/seen.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/seen.rb b/data/rbot/plugins/seen.rb
index ed308ac9..529fdf86 100644
--- a/data/rbot/plugins/seen.rb
+++ b/data/rbot/plugins/seen.rb
@@ -99,6 +99,7 @@ class SeenPlugin < Plugin
ret << "changing nick from #{saw.nick} to #{saw.message}"
when :PART
ret << "leaving #{saw.where}"
+ ret << " (#{saw.message})" unless saw.message.empty?
when :JOIN
ret << "joining #{saw.where}"
when :QUIT