From c75d85b88b9bd882e1c375b7b70522405dd67bc8 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Tue, 2 Dec 2014 07:33:55 +0100 Subject: [PATCH] [birthday] fix date saving for other people --- modules/birthday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/birthday.py b/modules/birthday.py index f4765aa..539c9c9 100644 --- a/modules/birthday.py +++ b/modules/birthday.py @@ -107,7 +107,7 @@ def parseask(msg): if nick == "my" or nick == "I" or nick == "i" or nick == "je" or nick == "mon" or nick == "ma": nick = msg.nick if nick.lower() in DATAS.index: - DATAS.index[msg.nick.lower()]["born"] = extDate + DATAS.index[nick.lower()]["born"] = extDate else: ms = ModuleState("birthday") ms.setAttribute("name", nick.lower())