matabot

a silly irc bot
git clone ssh://anon@git.pastanoggin.com
Log | Files | Refs | README | LICENSE

commit aa4095dfc8a0f9b396c9b8bbba1a928eb38872e7
parent f3828e3a7ce80643558712ebbb19feded99fb628
Author: noodle <noodle@pastanoggin.com>
Date:   Sat,  4 Jul 2026 15:29:22 +0000

ignore SIGPIPE to prevent random crashes as we already handle write on closed pipe

Diffstat:
Mmatabot.pl | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/matabot.pl b/matabot.pl @@ -6,6 +6,8 @@ use IO::Select; use IO::Socket qw(AF_INET SOCK_STREAM); use IO::Socket::SSL; +$SIG{PIPE} = "IGNORE"; + use constant { LOG_ERROR => 0, LOG_WARN => 1,