next\r
end\r
bans.delete(ar)\r
- chan = ar[1]\r
+ chan = ar[1].downcase\r
regexp = make_badword_rx(ar[2])\r
badwords << BadWordAction.new(regexp, action, chan, "0s", "")\r
}\r
end\r
\r
def add_badword(m, params=nil)\r
- regexp, channel = make_badword_rx(params[:regexp]), params[:channel].dup\r
+ regexp, channel = make_badword_rx(params[:regexp]), params[:channel].downcase.dup\r
action, timer, reason = params[:action], params[:timer].dup, params[:reason].to_s\r
\r
badwords = @registry[:badwords]\r