Channel modes that change the User prefixes are like Channel modes of type B, except that they manipulate lists of Users, so they are somewhat similar to channel modes of type A
# File lib/rbot/irc.rb, line 1206 def initialize(ch) super @list = UserList.new end
# File lib/rbot/irc.rb, line 1216 def reset(val) u = @channel.server.user(val) @list.delete(u) end
# File lib/rbot/irc.rb, line 1211 def set(val) u = @channel.server.user(val) @list << u unless @list.include?(u) end