mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-29 15:29:32 +01:00
Capabilities: use correct channel name
This commit is contained in:
parent
62e2207527
commit
c0b401c281
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user