From 05c8492f35cb11dd19b5565c4a96ecc0c532a379 Mon Sep 17 00:00:00 2001 From: dms Date: Thu, 21 Jun 2001 13:42:27 +0000 Subject: [PATCH] - attempt to fix .reset (chans) prob git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@511 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/UserDCC.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Modules/UserDCC.pl b/src/Modules/UserDCC.pl index acc4a17..195fdf8 100644 --- a/src/Modules/UserDCC.pl +++ b/src/Modules/UserDCC.pl @@ -444,15 +444,20 @@ sub userDCC { &msg($who,"resetting..."); my @done; foreach ( keys %channels, keys %chanconf ) { + &DEBUG("reset: c => $c"); next if (grep /^\Q$_\E$/i, @done); + &DEBUG("reset: should part... c => $c"); &part($_); push(@done, $_); sleep 1; } + &DEBUG("before clearircvars"); &clearIRCVars(); + &DEBUG("before joinnextchan"); &joinNextChan(); + &DEBUG("after joinnextchan"); &status("USER reset $who"); &msg($who,"resetted"); -- 2.39.5