Method: Cinch::Bot#unset_mode
- Defined in:
- lib/cinch/bot.rb
#unset_mode(mode)
This method returns an undefined value.
Unsets a mode on the bot.
383 384 385 386 |
# File 'lib/cinch/bot.rb', line 383 def unset_mode(mode) @modes.delete(mode) @irc.send "MODE #{nick} -#{mode}" end |