summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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