diff options
-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 4a0fb133..913831f1 100644 --- a/lib/rbot/botuser.rb +++ b/lib/rbot/botuser.rb @@ -397,7 +397,7 @@ module Irc def initialize(mask_or_user)
super(object_id, :transient => true)
reset_password
- mask = Netmask.new(mask_or_user)
+ mask = mask_or_user.to_irc_netmask
if User === mask_or_user
mask.nick = "*"
mask.host = mask_or_user.host.dup
|