- fix bug: don't delete channels from config after joining them
authorAndreas Scherbaum <andreas@scherbaum.biz>
Tue, 17 Jan 2012 01:05:11 +0000 (02:05 +0100)
committerAndreas Scherbaum <andreas@scherbaum.biz>
Tue, 17 Jan 2012 01:05:11 +0000 (02:05 +0100)
docbot.pl

index 62add8022a965dc72577a7cbb1c385ac71facf62..e36734d5fc5034faae2cce57769352a3049cd40a 100755 (executable)
--- 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