From 127d9152199cac9b431586bb7b17f6f297b6864f Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 24 Jul 2006 12:35:56 +0000 Subject: [257] was moot, this is the propert way to prevent Structs from being created twice --- data/rbot/plugins/seen.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins/seen.rb') diff --git a/data/rbot/plugins/seen.rb b/data/rbot/plugins/seen.rb index 094a9b3d..3c921838 100644 --- a/data/rbot/plugins/seen.rb +++ b/data/rbot/plugins/seen.rb @@ -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="") -- cgit v1.2.3