mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-18 14:30:40 +01:00
Capabilities: use correct channel name
This commit is contained in:
parent
62e2207527
commit
c0b401c281
@ -200,7 +200,7 @@ sub capcmd {
|
|||||||
}
|
}
|
||||||
if (@matches) {
|
if (@matches) {
|
||||||
$result .= '; ' if $matched;
|
$result .= '; ' if $matched;
|
||||||
$result .= $users->{$channel}->{_name} eq '.*' ? '' : "$channel: ";
|
$result .= $users->{$channel}->{_name} eq '.*' ? '' : "$users->{$channel}->{_name}: ";
|
||||||
$result .= join ', ', @matches;
|
$result .= join ', ', @matches;
|
||||||
$matched = 1;
|
$matched = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user