Channel modes of type C need an argument when set, but not when they get reset
Example: l (limit)
[Source]
# File lib/rbot/irc.rb, line 1230 1230: def initialize(ch) 1231: super 1232: @arg = nil 1233: end
# File lib/rbot/irc.rb, line 1244 1244: def reset 1245: @arg = nil 1246: end
# File lib/rbot/irc.rb, line 1240 1240: def set(val) 1241: @arg = val 1242: end
# File lib/rbot/irc.rb, line 1235 1235: def status 1236: @arg 1237: end
Alias for status
[Validate]