command_manager: never tweak one last thing after testing

This commit is contained in:
moneromooo 2017-11-07 23:53:33 +00:00
parent 64749a9afa
commit c51f0ea00b
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ def PruneOldWaitingCommands():
now=time.time()
for identity in calltable.keys():
while len(calltable[identity])>0 and calltable[identity][0][5]<now:
link=calltable[identity][0][0]
log_info('deleting old command: %s, %s' % (str(calltable[identity][0][1]), str(calltable[identity][0][3])))
link.send("Nickserv didn't reply, gonna have to deny access, mate")
del calltable[identity][0]