Skip to content

Commit

Permalink
Don't overwrite 'all' modifier when writing to default channel
Browse files Browse the repository at this point in the history
Signed-off-by: knilch <[email protected]>
  • Loading branch information
knilch0r committed Mar 18, 2018
1 parent d43e57d commit b761789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram.pl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ ($;$)
print $cmd if ($debug);
$server->command($cmd);
my $fupstr = "";
if ($target =~ m/^#/) {
if (($target =~ m/^#/) && (($chanmod{$target} // "") ne 'all')) {
$chanmod{$target} = $numfollowup;
$fupstr = " (f'up: ".$numfollowup.")";
}
Expand Down

0 comments on commit b761789

Please sign in to comment.