X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fcore.pl;h=b49d9b2dbbbfa7dec62356dfab07a30bdb3806eb;hb=58298d359360a1de27212a1ec0838dbfb7f0b53b;hp=80a4be91327bee46cd85e9b2eb2cd37654ec57a0;hpb=b6accd0ec31c9e167c396b7d6db73ce9d47815ad;p=infobot.git diff --git a/src/core.pl b/src/core.pl index 80a4be9..b49d9b2 100644 --- a/src/core.pl +++ b/src/core.pl @@ -201,6 +201,8 @@ sub IsChanConf { return 0; } + $chan ||= "_default"; + my $old = $chan; if ($chan =~ tr/A-Z/a-z/) { &WARN("IsChanConf: lowercased chan. ($old)");