diff --git a/botcmd.py b/botcmd.py index 1d3588b..e1c1d60 100644 --- a/botcmd.py +++ b/botcmd.py @@ -25,7 +25,7 @@ msglock.release() def loadtrusted(): trustedlock.acquire() - while len(trusted)>1: trusted.pop() #I'm really sorry but trusted=[] created trusted as local variable + while len(trusted)>0: trusted.pop() #I'm really sorry but trusted=[] created trusted as local variable f=open('trusted.txt','r') for line in f: while len(line)>0 and line[-1]=='\n': line=line[:-1] diff --git a/botcmd.pyc b/botcmd.pyc index 72cf4ee..41ea9b6 100644 Binary files a/botcmd.pyc and b/botcmd.pyc differ