From: dms Date: Sat, 3 Feb 2001 14:35:25 +0000 (+0000) Subject: now use delete in place of undef X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=94a411425cd2effcae4bb5ca5494713336ed50da;p=infobot.git now use delete in place of undef git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@320 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/blootbot/src/Modules/UserDCC.pl b/blootbot/src/Modules/UserDCC.pl index 175966b..5085751 100644 --- a/blootbot/src/Modules/UserDCC.pl +++ b/blootbot/src/Modules/UserDCC.pl @@ -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");