]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Since the new Irc framework the quotes plugin wasn't saving the full netmask of the...
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 27 Jan 2007 11:30:42 +0000 (11:30 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 27 Jan 2007 11:30:42 +0000 (11:30 +0000)
data/rbot/plugins/quotes.rb

index aae70592e629c0d7193ddce9a5a3cae8072532ba..6851b65f2f2c0ff83b463482d5450a300ad2f728 100644 (file)
@@ -49,7 +49,7 @@ class QuotePlugin < Plugin
   def addquote(source, channel, quote)
     @lists[channel] = Array.new if(!@lists.has_key?(channel))
     num = @lists[channel].length 
-    @lists[channel][num] = Quote.new(num, Time.new, source, quote)
+    @lists[channel][num] = Quote.new(num, Time.new, source.fullform, quote)
     @changed[channel] = true
     return num
   end