]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/seen.rb
[257] was moot, this is the propert way to prevent Structs from being created twice
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / seen.rb
index 094a9b3db66149d29f436eae33279f474566aafc..3c9218382d3413e4cc4dc54f695f23a24137c387 100644 (file)
@@ -1,4 +1,4 @@
-Saw = Struct.new("Saw", :nick, :time, :type, :where, :message) unless defined?(Saw)
+Saw = Struct.new("Saw", :nick, :time, :type, :where, :message) unless defined?(Seen::Saw)
 
 class SeenPlugin < Plugin
   def help(plugin, topic="")