diff --git a/classes.py b/classes.py index dcffcd6..7ea1eef 100644 --- a/classes.py +++ b/classes.py @@ -472,6 +472,9 @@ class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnake def get_server(self, numeric): """Finds the SID of the server a user is on.""" + if numeric in self.servers: # We got a server already (lazy hack) + return numeric + userobj = self.users.get(numeric) if userobj: return userobj.server