summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/seen.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/rbot/plugins/seen.rb b/data/rbot/plugins/seen.rb
index 704b8324..18d75d7e 100644
--- a/data/rbot/plugins/seen.rb
+++ b/data/rbot/plugins/seen.rb
@@ -38,10 +38,10 @@ class SeenPlugin < Plugin
nil, m.message.dup)
elsif m.kind_of?(NickMessage)
return if m.address?
- @registry[m.message] = Saw.new(m.sourcenick.dup, Time.new, "NICK",
- nil, m.message.dup)
- @registry[m.sourcenick] = Saw.new(m.sourcenick.dup, Time.new, "NICK",
- nil, m.message.dup)
+ @registry[m.oldnick] = Saw.new(m.oldnick, Time.new, "NICK",
+ nil, m.newnick)
+ @registry[m.newnick] = Saw.new(m.oldnick, Time.new, "NICK",
+ nil, m.newnick)
elsif m.kind_of?(PartMessage)
return if m.address?
@registry[m.sourcenick] = Saw.new(m.sourcenick.dup, Time.new, "PART",