Add a notitle option.
parent
b7906c84e4
commit
e11331bc7a
|
@ -35,6 +35,7 @@ DataMapper.auto_upgrade!
|
||||||
Client.register_trigger("PRIVMSG") do |msg|
|
Client.register_trigger("PRIVMSG") do |msg|
|
||||||
return 0 if msg[:params][1].nil?
|
return 0 if msg[:params][1].nil?
|
||||||
msg[:params][1].split.each do |word|
|
msg[:params][1].split.each do |word|
|
||||||
|
return 0 if word =~ "notitle"
|
||||||
if word =~ /^https?:\/\// then
|
if word =~ /^https?:\/\// then
|
||||||
original_url = word
|
original_url = word
|
||||||
if word =~ /4cdn[.]org/ then
|
if word =~ /4cdn[.]org/ then
|
||||||
|
|
Loading…
Reference in New Issue