summaryrefslogtreecommitdiff
path: root/lib/rbot/botuser.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:32 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-04 01:50:32 +0000
commitf38cb26826f5d2117849d1d07f75cff19b243f77 (patch)
tree215073022cdbf7e2344da9d0dd1aba2d3bc9f996 /lib/rbot/botuser.rb
parent5bb05c995916a21cc7fdc4c3776bc61a15cc15cb (diff)
New Auth Framework: BotUser transiency is now checked with #transient?
Diffstat (limited to 'lib/rbot/botuser.rb')
-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 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