diff options
-rwxr-xr-x | nsa | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -353,7 +353,11 @@ CONFIG['projects'].each_value do |cl| end end channels.each_key do |c| - bot.print "JOIN #{c}" + if CONFIG['channelkeys'] and CONFIG['channelkeys'].has_key?(c) + bot.print "JOIN #{c} #{CONFIG['channelkeys'][c]}" + else + bot.print "JOIN #{c}" + end end while (1) do |