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
[Source]
# File lib/rbot/irc.rb, line 1206 1206: def initialize(ch) 1207: super 1208: @list = UserList.new 1209: end
# File lib/rbot/irc.rb, line 1216 1216: def reset(val) 1217: u = @channel.server.user(val) 1218: @list.delete(u) 1219: end
# File lib/rbot/irc.rb, line 1211 1211: def set(val) 1212: u = @channel.server.user(val) 1213: @list << u unless @list.include?(u) 1214: end
[Validate]