From 386b351ba97b70071a422b5eb3665ced785761ee Mon Sep 17 00:00:00 2001 From: Juhani Haverinen Date: Mon, 15 Dec 2014 22:41:22 +0200 Subject: [PATCH] In 2 we trust, too --- botcmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botcmd.py b/botcmd.py index e1b6d15..ee82a44 100644 --- a/botcmd.py +++ b/botcmd.py @@ -211,7 +211,7 @@ def parse((line,irc)): elif line[1]=='NOTICE' and line[0].split('!')[0]==':NickServ' and line[4]=='ACC': authfunclock.acquire() authcmdlock.acquire() - if line[5]=='3': + if line[5]=='3' or line[5]=='2': trustedlock.acquire() if line[3][1:] in trusted: trustedlock.release()