X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fquotes.rb;h=b5017a58852fe121472a7011db787511495e613d;hb=ac39a3b330cbf7c4b65ba907783364b63fb109b3;hp=6851b65f2f2c0ff83b463482d5450a300ad2f728;hpb=bf03d9f2b695772212abee81d405483c5c374633;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/quotes.rb b/data/rbot/plugins/quotes.rb index 6851b65f..b5017a58 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) +define_structure :Quote, :num, :date, :source, :quote class QuotePlugin < Plugin def initialize