diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/botuser.rb | 2 | ||||
-rw-r--r-- | lib/rbot/maskdb.rb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb index defb3a47..13f05f87 100644 --- a/lib/rbot/botuser.rb +++ b/lib/rbot/botuser.rb @@ -381,7 +381,9 @@ class Bot @autologin = h[:autologin] if h.has_key?(:autologin)
if h.has_key?(:netmasks)
@netmasks = h[:netmasks]
+ debug @netmasks
@netmasks.each { |n| Auth.manager.maskdb.add(self, n) } if @autologin
+ debug @netmasks
end
@perm = h[:perm] if h.has_key?(:perm)
end
diff --git a/lib/rbot/maskdb.rb b/lib/rbot/maskdb.rb index 38eb0cce..f15a442c 100644 --- a/lib/rbot/maskdb.rb +++ b/lib/rbot/maskdb.rb @@ -124,7 +124,7 @@ module Irc def add(user, *masks) masks.each do |m| - debug "adding user #{user} with mask #{m}" + debug "adding user #{user} with mask #{m.fullform}" @tree.add([user, m], *mask2keys(m)) end end |