mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
Fix UrlTitles properly
This commit is contained in:
parent
b84183e30c
commit
1557bbc219
@ -62,7 +62,7 @@ sub show_url_titles {
|
|||||||
while ($msg =~ s/(https?:\/\/[^\s]+)//i && ++$event->{interpreted} <= 3) {
|
while ($msg =~ s/(https?:\/\/[^\s]+)//i && ++$event->{interpreted} <= 3) {
|
||||||
my $stuff = {
|
my $stuff = {
|
||||||
from => $channel, nick => $nick, user => $user, host => $host,
|
from => $channel, nick => $nick, user => $user, host => $host,
|
||||||
command => $msg, root_channel => $channel, root_keyword => "title",
|
command => "title $nick $1", root_channel => $channel, root_keyword => "title",
|
||||||
keyword => "title", arguments => "$nick $1"
|
keyword => "title", arguments => "$nick $1"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user