3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 05:49:27 +01:00

Capabilities: use correct channel name

This commit is contained in:
Pragmatic Software 2020-02-06 02:24:43 -08:00
parent 62e2207527
commit c0b401c281

View File

@ -200,7 +200,7 @@ sub capcmd {
}
if (@matches) {
$result .= '; ' if $matched;
$result .= $users->{$channel}->{_name} eq '.*' ? '' : "$channel: ";
$result .= $users->{$channel}->{_name} eq '.*' ? '' : "$users->{$channel}->{_name}: ";
$result .= join ', ', @matches;
$matched = 1;
}