basics: option to join channel after identification is confirmed
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 6 Aug 2008 19:36:41 +0000 (21:36 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 6 Aug 2008 20:06:10 +0000 (22:06 +0200)
commit2bd4a7ed4ba5ab7c3c522c4d8061c1ce35bdc336
tree62e58524a6ff7e6a215b8fa84bc278bde12bca5c
parent9a66dcadede5cadc00b4fde344f75a9bd78220d7
basics: option to join channel after identification is confirmed

Sometimes it is necessary to wait for identification to be confirmed
before certain channels may be joined. In this case the option
irc.join_after_identify can be set to true, and the bot will wait for
nickserv to confirm the identification before joining any channels.

This solution is actually a rather ugly hack, but I can't think of a
better way to approach the problem without rewriting the whole
framework.
lib/rbot/core/basics.rb
lib/rbot/ircbot.rb