Skip to content

Commit

Permalink
[clock] Fix unclear message when using .settf
Browse files Browse the repository at this point in the history
  • Loading branch information
maxpowa committed Jan 26, 2015
1 parent f64ecee commit aaedd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion willie/modules/clock.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def update_user_format(bot, trigger):
bot.reply("What format do you want me to use? Try using"
" http://strftime.net to make one.")

tz = get_timezone(bot.db, bot.config, None, None, trigger.sender)
tz = get_timezone(bot.db, bot.config, None, trigger.nick, trigger.sender)

# Get old format as back-up
old_format = bot.db.get_nick_value(trigger.nick, 'time_format')
Expand Down

0 comments on commit aaedd38

Please sign in to comment.