]> git.donarmstrong.com Git - infobot.git/commitdiff
now use delete in place of undef
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 3 Feb 2001 14:35:25 +0000 (14:35 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 3 Feb 2001 14:35:25 +0000 (14:35 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@320 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/UserDCC.pl

index 175966b3d3e533ab9b9f630ba200b0b5c1963bb3..5085751469422c0bb487097f2838aa53ce888316 100644 (file)
@@ -611,7 +611,7 @@ sub userDCC {
        if ($args ne "") {
            if (&getChanConf($args,$chan)) {
                &pSReply("Unsetting channel ($chan) option $args. (was $chanconf{$chan}{$args})");
-               undef $chanconf{$chan}{$args};
+               delete $chanconf{$chan}{$args};
 
            } else {
                &pSReply("$args does not exist for $chan");