Add a notitle option.

master
Robert Gerus 2014-03-13 17:07:15 +01:00
parent b7906c84e4
commit e11331bc7a
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ DataMapper.auto_upgrade!
Client.register_trigger("PRIVMSG") do |msg|
return 0 if msg[:params][1].nil?
msg[:params][1].split.each do |word|
return 0 if word =~ "notitle"
if word =~ /^https?:\/\// then
original_url = word
if word =~ /4cdn[.]org/ then