class Lita::Room

Public Instance Methods

op(robot, nick) click to toggle source
# File lib/monkeypatches.rb, line 4
def op(robot, nick)
  cinch = robot.send(:adapter).cinch
  channel = cinch.channel_list.find_ensured(self.name)
  Lita.logger.debug "Oping #{nick} in #{self.name}"
  channel.op(nick)
end