3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-23 04:19:27 +01:00

Plugins/RemindMe: allow any user to use -c

This commit is contained in:
Pragmatic Software 2021-06-29 21:45:25 -07:00
parent 076cd98f32
commit d679b005d6

View File

@ -196,10 +196,6 @@ sub cmd_remindme {
# option -c was provided; ensure user is an admin and bot is in channel
if ($channel) {
if (not defined $admininfo) {
return "Only admins can create channel reminders.";
}
if (not $self->{pbot}->{channels}->is_active($channel)) {
return "I'm not active in channel $channel.";
}