Bans someone from the channel.
Parameters:
the mask, or an object having a mask, to ban
Returns:
the mask used for banning
See Also:
251 252 253 254 255 256
# File 'lib/cinch/channel.rb', line 251 def ban(target) mask = Mask.from(target) @bot.irc.send "MODE #@name +b #{mask}" mask end