summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-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 39f50b00..dfbe116d 100644
--- a/data/rbot/plugins/bans.rb
+++ b/data/rbot/plugins/bans.rb
@@ -41,7 +41,7 @@ class BansPlugin < Plugin
end
def make_badword_rx(txt)
- return /\b#{txt}\b/i
+ return /\b(?:#{txt})\b/i
end
def initialize