diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-24 06:50:20 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-24 06:50:20 +0000 |
commit | bca160cbbf64aeb56fb6729f2ea4d77e5821a31c (patch) | |
tree | 769a63b0c1987d8a6ce475081e60488f84b14838 /data/rbot/plugins/quotes.rb | |
parent | 3150e83c5eb61b5c79fdb3570cb35b41aeca4626 (diff) |
Suppress the warnings for Struct redefinition on rescan
Diffstat (limited to 'data/rbot/plugins/quotes.rb')
-rw-r--r-- | data/rbot/plugins/quotes.rb | 2 |
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 |