From e14062ff8388ce30a23890beef320515baed3434 Mon Sep 17 00:00:00 2001 From: Vincent Castellano Date: Tue, 2 Jun 2015 12:39:17 -0700 Subject: [PATCH] Fix typo --- python-tg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-tg.c b/python-tg.c index 63bd2b6..b206b3f 100644 --- a/python-tg.c +++ b/python-tg.c @@ -1276,7 +1276,7 @@ void py_add_action_enums(PyObject *m) void py_add_peer_type_enums(PyObject *m) { PyModule_AddIntConstant(m, "PEER_USER", TGL_PEER_USER); - PyModule_AddIntConstant(m, "PEER_USER", TGL_PEER_CHAT); + PyModule_AddIntConstant(m, "PEER_CHAT", TGL_PEER_CHAT); PyModule_AddIntConstant(m, "PEER_ENCR_CHAT", TGL_PEER_ENCR_CHAT); }