From 575cff297d88926367403541d6c344d6135f81b7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 22 Aug 2019 22:53:02 -0700 Subject: [PATCH] Channel: remove call to deprecated function name --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 23af841..f0d1571 100644 --- a/classes.py +++ b/classes.py @@ -2196,7 +2196,7 @@ class Channel(TSObject, structures.CamelCaseToSnakeCase, structures.CopyWrapper) def is_voice_plus(self, uid): """Returns whether the given user is voice or above in the channel.""" # If the user has any prefix mode, it has to be voice or greater. - return bool(self.getPrefixModes(uid)) + return bool(self.get_prefix_modes(uid)) def is_halfop_plus(self, uid): """Returns whether the given user is halfop or above in the channel."""