diff --git a/mtprotoproxy.py b/mtprotoproxy.py index 1457a6d..9d4a59e 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -234,7 +234,7 @@ def print_tg_info(): except: my_ip = 'YOUR_IP' - for user, secret in USERS.items(): + for user, secret in sorted(USERS.items(), key=lambda x: x[0]): params = { "server": my_ip, "port": PORT, "secret": secret }