Class: Admin::Autojoin
- Inherits:
-
Object
- Object
- Admin::Autojoin
- Includes:
- Cinch::Helpers, Cinch::Plugin
- Defined in:
- lib/Zeta/admin/autojoin.rb
Instance Method Summary collapse
-
#join_and_notify(m) ⇒ Object
Methods.
Methods included from Cinch::Plugin
Instance Method Details
#join_and_notify(m) ⇒ Object
Methods
13 14 15 16 17 18 |
# File 'lib/Zeta/admin/autojoin.rb', line 13 def join_and_notify(m) if Config..key? :join_on_invite log2chan("#{m.user.nick} has requested me join #{m.channel}", :notice) Channel(m.channel).join end end |