Skip to content

Commit

Permalink
Merge pull request #720 from maxpowa/patch-1
Browse files Browse the repository at this point in the history
[clock] Fix unclear message when using .settf
  • Loading branch information
embolalia committed Jan 26, 2015
2 parents f64ecee + aaedd38 commit 30b7cf7
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 30b7cf7

Please sign in to comment.