From: dms Date: Tue, 17 Apr 2001 15:56:43 +0000 (+0000) Subject: ok... use "" around hashes that use _ bare. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a9c2de5fa96d6b367e22ce50cb43dbae78e1eb5f;p=infobot.git ok... use "" around hashes that use _ bare. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@446 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/IRC/IrcHelpers.pl b/blootbot/src/IRC/IrcHelpers.pl index e8d2826..b2b33d1 100644 --- a/blootbot/src/IRC/IrcHelpers.pl +++ b/blootbot/src/IRC/IrcHelpers.pl @@ -266,12 +266,12 @@ sub chanLimitVerify { &WARN("clc: stupid to have plus at $plus, fix it!"); } - if (exists $cache{chanlimitChange_$chan}) { - if (time() - $cache{chanlimitChange_$chan} < 60) { + if (exists $cache{ "chanlimitChange_$chan" }) { + if (time() - $cache{ "chanlimitChange_$chan" } < 60) { &DEBUG("not going to change chanlimit!"); return; } - delete $cache{chanlimitChange_$chan}; + delete $cache{ "chanlimitChange_$chan" }; } ### todo: check if we have ops.