From 8e0ee28c87a38ddc266b2d63b6b1c34cb99875dd Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 4 Sep 2007 01:50:38 +0000 Subject: New Auth Framework: BotUser data is now actually saved/restored --- lib/rbot/botuser.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/rbot/botuser.rb') 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 -- cgit v1.2.3