summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/irc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/irc.rb b/lib/rbot/irc.rb
index 398f74d1..f34c8f9b 100644
--- a/lib/rbot/irc.rb
+++ b/lib/rbot/irc.rb
@@ -321,7 +321,7 @@ class String
raise "Unexpected match #{m} when converting #{self}"
end
}
- Regexp.new(regmask)
+ Regexp.new("^#{regmask}$")
end
end