Method: Flapjack::Gateways::Jabber::Bot#_leave
- Defined in:
- lib/flapjack/gateways/jabber.rb
#_leave(client, muc_clients) ⇒ Object
795 796 797 798 799 800 801 |
# File 'lib/flapjack/gateways/jabber.rb', line 795 def _leave(client, muc_clients) if @joined muc_clients.values.each {|muc_client| muc_client.exit if muc_client.active? } client.close end @joined = false end |