]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/ircbot.rb
ircbot: reinstante @bot.channels
[user/henk/code/ruby/rbot.git] / lib / rbot / ircbot.rb
index 35fc2dfd4ac128e548d0bb2ae42245048c2b950e..70be2a901648a45f8fa720b3ec1d3b57903ddba9 100644 (file)
@@ -211,11 +211,16 @@ class Bot
     @client.user
   end
 
-  # bot User in the client/server connection
+  # bot nick in the client/server connection
   def nick
     myself.nick
   end
 
+  # bot channels in the client/server connection
+  def channels
+    myself.channels
+  end
+
   # nick wanted by the bot. This defaults to the irc.nick config value,
   # but may be overridden by a manual !nick command
   def wanted_nick