From f87e7f2eb4f97554c475412728285b74d17cbac5 Mon Sep 17 00:00:00 2001 From: Michael Ziegler Date: Thu, 11 Nov 2010 21:31:44 +0100 Subject: [PATCH] add missing getBans method --- pyweb/mumble/MumbleCtlIce.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyweb/mumble/MumbleCtlIce.py b/pyweb/mumble/MumbleCtlIce.py index 7cc49c1..f2d65bf 100644 --- a/pyweb/mumble/MumbleCtlIce.py +++ b/pyweb/mumble/MumbleCtlIce.py @@ -430,6 +430,10 @@ class MumbleCtlIce_118(MumbleCtlBase): def getUptime(self, srvid): return None + @protectDjangoErrPage + def getBans( self, srvid ): + return self._getIceServerObject(srvid).getBans() + @protectDjangoErrPage def getLog( self, srvid, first=0, last=100 ): return self._getIceServerObject(srvid).getLog( first, last )