summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/quotes.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-24 06:50:20 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-24 06:50:20 +0000
commitbca160cbbf64aeb56fb6729f2ea4d77e5821a31c (patch)
tree769a63b0c1987d8a6ce475081e60488f84b14838 /data/rbot/plugins/quotes.rb
parent3150e83c5eb61b5c79fdb3570cb35b41aeca4626 (diff)
Suppress the warnings for Struct redefinition on rescan
Diffstat (limited to 'data/rbot/plugins/quotes.rb')
-rw-r--r--data/rbot/plugins/quotes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/quotes.rb b/data/rbot/plugins/quotes.rb
index 917c6901..4695fa10 100644
--- a/data/rbot/plugins/quotes.rb
+++ b/data/rbot/plugins/quotes.rb
@@ -1,6 +1,6 @@
# GB: Ok, we *really* need to switch to db for this plugin too
-Quote = Struct.new("Quote", "num", "date", "source", "quote")
+Quote = Struct.new("Quote", :num, :date, :source, :quote) unless defined?(Quote)
class QuotePlugin < Plugin
def initialize