From 310818956c54751bc88e31f324a2aeb5fe0e3da4 Mon Sep 17 00:00:00 2001 From: dms Date: Sat, 3 Feb 2001 14:35:25 +0000 Subject: [PATCH] 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 --- src/Modules/UserDCC.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.39.2