Method: Cinch::Channel#ops

Defined in:
lib/cinch/channel.rb

#opsArray<User>

Returns All ops in the channel.

Returns:

  • (Array<User>)

    All ops in the channel

Since:

  • 2.0.0



130
131
132
# File 'lib/cinch/channel.rb', line 130

def ops
  @users.select {|user, modes| modes.include?("o")}.keys
end