3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-20 10:59:29 +01:00

Prepend channel name to factshow output if belongs to different channel

This commit is contained in:
Pragmatic Software 2017-08-12 01:28:55 -07:00
parent f3d84931b1
commit 97aae4bddc

View File

@ -752,6 +752,8 @@ sub factshow {
$result .= ' [module]';
}
$result = "[$channel] $result" if $channel ne $chan;
return $result;
}