From f9418f84799414a03d3fc7eeddd9488578eff353 Mon Sep 17 00:00:00 2001 From: gwillen Date: Sun, 21 Sep 2008 14:26:46 -0400 Subject: [PATCH] Fix uninitialized value warning darcs-hash:20080921182646-ebe41-06fe43324daa646cb51007010b9cc743f1765fd2.gz --- IrssiInterface.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IrssiInterface.pl b/IrssiInterface.pl index 6ba4eaf..dcbef70 100644 --- a/IrssiInterface.pl +++ b/IrssiInterface.pl @@ -458,7 +458,7 @@ sub cmd_instance { $witem->print("Default instance is now '$inst'."); - if ($msg ne "") { + if (defined $msg && $msg ne "") { cmd_inst_say($args, $server, $witem); } } -- 2.50.1