From e993cbb01c5720e4199a8194e0cef8c4561b9625 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 4 Sep 2007 01:50:27 +0000 Subject: New Auth Framework: use #to_irc_netmask() instead of Netmask.new() --- lib/rbot/botuser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') 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 -- cgit v1.2.3