Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop' into drillsqueak
Browse files Browse the repository at this point in the history
PR #198
  • Loading branch information
Marenthyu committed Apr 9, 2017
2 parents c316e2d + 150602c commit 27dc370
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sopel-modules/rat-board.py
Expand Up @@ -1391,6 +1391,8 @@ def ratmama_parse(bot, trigger, db):
case.platform = "ps"
else:
case.platform = fields["platform"].lower()
if not fields["nick"]:
fields["nick"] = fields["cmdr"]
with bot.memory['ratbot']['board'].change(case):
case.data.update(defaultdata)
case.data.update({
Expand All @@ -1399,8 +1401,7 @@ def ratmama_parse(bot, trigger, db):
"boardIndex": int(case.boardindex)
})

if not fields["nick"]:
fields["nick"] = fields["cmdr"]


save_case_later(bot, case, forceFull=True)
if result.created:
Expand Down

0 comments on commit 27dc370

Please sign in to comment.