From dd3127b48abdd79d520cdb524297958220628acf Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Sat, 7 Dec 2024 22:54:58 +0100
Subject: [PATCH] workaround for precedence problem (RT #157738)

---
 lib/POE/Component/IRC.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/POE/Component/IRC.pm b/lib/POE/Component/IRC.pm
index 93ae1d2..41e3eb4 100644
--- a/lib/POE/Component/IRC.pm
+++ b/lib/POE/Component/IRC.pm
@@ -215,6 +215,7 @@ sub _configure {
     }
 
     if (defined $self->{webirc}) {
+	no warnings 'precedence';
         if (!ref $self->{webirc} ne 'HASH') {
             die "webirc param expects a hashref";
         }
-- 
2.11.0