3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 03:33:06 +01:00

Fix UrlTitles properly

This commit is contained in:
Pragmatic Software 2017-11-19 14:06:17 -08:00
parent b84183e30c
commit 1557bbc219

View File

@ -62,7 +62,7 @@ sub show_url_titles {
while ($msg =~ s/(https?:\/\/[^\s]+)//i && ++$event->{interpreted} <= 3) {
my $stuff = {
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"
};