Method: Cinch::Channel#half_ops

Defined in:
lib/cinch/channel.rb

#half_opsArray<User>

Returns All half-ops in the channel.

Returns:

  • (Array<User>)

    All half-ops in the channel

Since:

  • 2.0.0



136
137
138
# File 'lib/cinch/channel.rb', line 136

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