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=310818956c54751bc88e31f324a2aeb5fe0e3da4;p=infobot.git now use delete in place of undef git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@320 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/UserDCC.pl b/src/Modules/UserDCC.pl index 175966b..5085751 100644 --- a/src/Modules/UserDCC.pl +++ b/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");