]> git.donarmstrong.com Git - infobot.git/commitdiff
ok... use "" around hashes that use _ bare.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 17 Apr 2001 15:56:43 +0000 (15:56 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 17 Apr 2001 15:56:43 +0000 (15:56 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@446 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/IrcHelpers.pl

index e8d2826b71b752075960a350b5309c681ee47aa7..b2b33d1779e043bd219cd446d062697c7316182e 100644 (file)
@@ -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.