From f38cb26826f5d2117849d1d07f75cff19b243f77 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 4 Sep 2007 01:50:32 +0000 Subject: New Auth Framework: BotUser transiency is now checked with #transient? --- 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 c3e4c18e..88da4da4 100644 --- a/lib/rbot/botuser.rb +++ b/lib/rbot/botuser.rb @@ -645,7 +645,7 @@ module Irc def save_array @allbotusers.values.map { |x| - x.transient ? nil : x.to_hash + x.transient? ? nil : x.to_hash }.compact end -- cgit v1.2.3