From: Andreas Scherbaum Date: Tue, 17 Jan 2012 01:05:11 +0000 (+0100) Subject: - fix bug: don't delete channels from config after joining them X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=47f249b63d5642965b9626e7d04cc686088f203d;p=docbot.git - fix bug: don't delete channels from config after joining them --- diff --git a/docbot.pl b/docbot.pl index 62add80..e36734d 100755 --- a/docbot.pl +++ b/docbot.pl @@ -1231,7 +1231,6 @@ sub on_connect { set_session_activity($session); - $main::sessions{$session}{'irc_channels'} = []; # join all channels foreach my $channel (@irc_channels) { # based on the current configuration, each channel can only be joined by one bot session