diff options
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/botuser.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbot/botuser.rb b/lib/rbot/botuser.rb index dc019655..c3c37a50 100644 --- a/lib/rbot/botuser.rb +++ b/lib/rbot/botuser.rb @@ -308,7 +308,8 @@ module Irc :netmasks => @netmasks,
:perm => @perm,
:login_by_mask => @login_by_mask,
- :autologin => @autologin
+ :autologin => @autologin,
+ :data => @data
}
end
@@ -344,6 +345,7 @@ module Irc @perm = h[:perm] if h.has_key?(:perm)
@login_by_mask = h[:login_by_mask] if h.has_key?(:login_by_mask)
@autologin = h[:autologin] if h.has_key?(:autologin)
+ @data = h[:data] if h.has_key?(:data)
end
# This method sets the password if the proposed new password
|