diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/irc.rb | 2 |
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
|