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:
parent
076cd98f32
commit
d679b005d6
@ -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.";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user