]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/ircbot.rb
basics: option to join channel after identification is confirmed
[user/henk/code/ruby/rbot.git] / lib / rbot / ircbot.rb
index 01dbb12b4e6c1111bde3ad073a54fea7a770615a..0d934e33f0621430fc36e5ee09cedb7344bc43ec 100644 (file)
@@ -609,15 +609,6 @@ class Bot
 
       @plugins.delegate("welcome", m)
       @plugins.delegate("connect")
-
-      @config['irc.join_channels'].each { |c|
-        debug "autojoining channel #{c}"
-        if(c =~ /^(\S+)\s+(\S+)$/i)
-          join $1, $2
-        else
-          join c if(c)
-        end
-      }
     }
 
     # TODO the next two @client should go into rfc2812.rb, probably