summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/seen.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-24 12:35:56 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-24 12:35:56 +0000
commit127d9152199cac9b431586bb7b17f6f297b6864f (patch)
tree60cb518c4e1ea2bb6336a2fd1074261e354df97a /data/rbot/plugins/seen.rb
parent1ac2e000c87164cad040b2d426ba947499df92af (diff)
[257] was moot, this is the propert way to prevent Structs from being created twice
Diffstat (limited to 'data/rbot/plugins/seen.rb')
-rw-r--r--data/rbot/plugins/seen.rb2
1 files changed, 1 insertions, 1 deletions
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="")