diff options
-rw-r--r-- | lib/rbot/core/userdata.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/rbot/core/userdata.rb b/lib/rbot/core/userdata.rb index 0164f659..8a056820 100644 --- a/lib/rbot/core/userdata.rb +++ b/lib/rbot/core/userdata.rb @@ -80,9 +80,8 @@ class UserDataModule < CoreBotModule iu = user.to_irc_user bu = iu.botuser - if bu.transient? or bu.default? - @ircuser[iu.nick] = h - else + @ircuser[iu.nick] = h + unless bu.transient? or bu.default? @botuser[bu.username] = h end end |