summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authordmitry kim <jason@nichego.net>2008-06-26 21:00:07 +0400
committerdmitry kim <jason@nichego.net>2008-06-26 21:00:07 +0400
commitc900993c6293d1fc07cf1bfc237f274f91bc127d (patch)
tree40b0693dd6752c4630559ab4ed589a038fc34914 /data/rbot
parentd6d906b714c52fc3bee8ff9e0090778bccfce3c7 (diff)
* plugins/bans: show the bad word message in channel before the (kick)ban
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/bans.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/bans.rb b/data/rbot/plugins/bans.rb
index b25cb50b..9fbea48b 100644
--- a/data/rbot/plugins/bans.rb
+++ b/data/rbot/plugins/bans.rb
@@ -145,8 +145,8 @@ class BansPlugin < Plugin
next unless ['all', m.target.downcase].include?(badword.channel)
next unless badword.regexp.match(m.plainmessage)
- do_cmd(badword.action.to_sym, m.source.nick, m.target, badword.timer, badword.reason)
m.reply "bad word detected! #{badword.action} for #{badword.timer} because: #{badword.reason}"
+ do_cmd(badword.action.to_sym, m.source.nick, m.target, badword.timer, badword.reason)
return
}
end