]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/url.rb
Adapt to new auth system.
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / url.rb
index 45949f501f8a90633949de6058e73452b548cc46..b04beb871be52588c98d45145b030eb1fe8d915d 100644 (file)
@@ -2,7 +2,7 @@ require 'net/http'
 require 'uri'
 require 'cgi'
 
-Url = Struct.new("Url", :channel, :nick, :time, :url) unless defined?(Struct::Url)
+Url = Struct.new("Url", :channel, :nick, :time, :url)
 TITLE_RE = /<\s*?title\s*?>(.+?)<\s*?\/title\s*?>/im
 
 UNESCAPE_TABLE = {