From 3d7a98b6114e2d5c157ca4981daeba7327dcaa35 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Thu, 4 Sep 2025 10:26:02 -0700 Subject: [PATCH] Plugin/AntiHello: remove initial ban warning --- lib/PBot/Plugin/AntiHello.pm | 4 ++-- lib/PBot/VERSION.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/PBot/Plugin/AntiHello.pm b/lib/PBot/Plugin/AntiHello.pm index 1f602e2e..02d77632 100644 --- a/lib/PBot/Plugin/AntiHello.pm +++ b/lib/PBot/Plugin/AntiHello.pm @@ -64,11 +64,11 @@ sub punish($self, $msg, $channel, $nick, $user, $host) { # send public message to channel with cooldown if ($now - $self->{last_warning} >= 60 * 60) { $self->{last_warning} = $now; - $self->{pbot}->{conn}->privmsg($channel, "Please do not send stand-alone channel greeting messages; include your question/statement along with the greeting. For more info, see https://nohello.net/ (repeated offenses will result in an automatic ban)"); + $self->{pbot}->{conn}->privmsg($channel, "Please do not send stand-alone channel greeting messages; include your question/statement along with the greeting. For more info, see https://nohello.net/"); } # always send private message to offender - $self->{pbot}->{conn}->privmsg($nick, "$nick: ($channel) Please do not send stand-alone channel greeting messages; include your question/statement along with the greeting. For more info, see https://nohello.net/ (repeated offenses will result in an automatic ban)"); + $self->{pbot}->{conn}->privmsg($nick, "$nick: ($channel) Please do not send stand-alone channel greeting messages; include your question/statement along with the greeting. For more info, see https://nohello.net/"); return 0; } elsif ($data->{offenses} == 2) { diff --git a/lib/PBot/VERSION.pm b/lib/PBot/VERSION.pm index 675b9319..9c4c772e 100644 --- a/lib/PBot/VERSION.pm +++ b/lib/PBot/VERSION.pm @@ -25,7 +25,7 @@ use PBot::Imports; # These are set by the /misc/update_version script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 4884, + BUILD_REVISION => 4885, BUILD_DATE => "2025-09-04", };