From 677b254bb3f6e46bfb49f8e1b697eced93cb6ed7 Mon Sep 17 00:00:00 2001 From: timriker Date: Mon, 22 Nov 2010 23:37:14 +0000 Subject: [PATCH] -autojoin on full or inviteonly git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1897 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/IRC/IrcHooks.pl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/IRC/IrcHooks.pl b/src/IRC/IrcHooks.pl index f0c289d..6abf6ef 100644 --- a/src/IRC/IrcHooks.pl +++ b/src/IRC/IrcHooks.pl @@ -1328,8 +1328,8 @@ sub on_chanfull { my ($event) = @_; my @args = $event->args; - &status(">>> chanfull/$b_blue$args[1]$ob"); - + &status(">>> chanfull/$b_blue$args[1]$ob, removing autojoin"); + delete $chanconf{$chan}{autojoin}; &joinNextChan(); } @@ -1338,8 +1338,8 @@ sub on_inviteonly { my ($event) = @_; my @args = $event->args; - &status(">>> inviteonly/$b_cyan$args[1]$ob"); - + &status(">>> inviteonly/$b_cyan$args[1]$ob, removing autojoin"); + delete $chanconf{$chan}{autojoin}; &joinNextChan(); } -- 2.39.2