summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:27 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:27 +0000
commite993cbb01c5720e4199a8194e0cef8c4561b9625 (patch)
tree73b8f819f86c0eb9b1e2e741a4326de580140eb7
parentf5ae52f3cd7bb33c9b381256a74e0da222140215 (diff)
New Auth Framework: use #to_irc_netmask() instead of Netmask.new()
-rw-r--r--lib/rbot/botuser.rb2
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