mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 10:29:30 +01:00
factlog
now logs renames on both sides instead of only destination side
This commit is contained in:
parent
78082792e5
commit
9c803b2d14
@ -844,6 +844,7 @@ sub factmove {
|
||||
$target_channel = 'global' if $target_channel eq '.*';
|
||||
|
||||
if ($src_channel eq $target_channel) {
|
||||
$self->log_factoid($found_src_channel, $found_source, "$nick!$user\@$host", "renamed from $found_source to $target");
|
||||
$self->log_factoid($target_channel, $target, "$nick!$user\@$host", "renamed from $found_source to $target");
|
||||
return "[$found_src_channel] $found_source renamed to $target";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user