diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/botuser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb index c0cbfa47..c3e4c18e 100644 --- a/lib/rbot/botuser.rb +++ b/lib/rbot/botuser.rb @@ -264,7 +264,7 @@ module Irc if @transient and User === m
mask.nick = "*"
mask.host = m.host.dup
- mask.user = "*" + m.user.sub(/^[^\w]+/,'')
+ mask.user = "*" + m.user.sub(/^\w?[^\w]+/,'')
end
add_netmask(mask) unless mask.to_s == "*"
}
|