mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-23 02:24:25 +01:00
RegisterNickserv: Do not relay messages if user is +v
This commit is contained in:
parent
772ea03ddf
commit
cd751c290c
@ -66,6 +66,8 @@ sub on_public {
|
||||
}
|
||||
}
|
||||
|
||||
return 0 if $self->{pbot}->{nicklist}->get_meta($channel, $nick, '+v');
|
||||
|
||||
$self->{pbot}->{logger}->log("RegisterNickserv: Notifying $nick to register with NickServ in $channel.\n");
|
||||
$event->{conn}->privmsg($nick, "Please register your nick to speak in $channel. See https://freenode.net/kb/answer/registration and https://freenode.net/kb/answer/sasl");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user