Add a notitle option.
This commit is contained in:
parent
b7906c84e4
commit
e11331bc7a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue