From 6919b6965f3f63b89b83b33baa5e9066c7a5078d Mon Sep 17 00:00:00 2001 From: Juhani Haverinen Date: Wed, 25 Sep 2013 18:27:48 +0300 Subject: [PATCH] Fixed #untrust --- botcmd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botcmd.py b/botcmd.py index 544ad34..799fab4 100644 --- a/botcmd.py +++ b/botcmd.py @@ -37,7 +37,7 @@ def addtrusted(nick): def rmtrusted(nick): trustedlock.acquire() if nick in trusted: - del trusted[nick] + trusted.remove(nick) trustedlock.release() def loadtrusted():