diff --git a/ccserver/handlers.py b/ccserver/handlers.py index b6203d49cbc0c327014d8ec13cc3b20979b6149b..e59b21731a024c6204218e76da27a6f733cd7f92 100644 --- a/ccserver/handlers.py +++ b/ccserver/handlers.py @@ -208,6 +208,10 @@ class ClientHandler(OnlineCCHandler): ''' self._server.conf.remove_account(login) + @pure + def proxy_client(self, login, command, *args, **kwargs): + client = self._server.get_connection(login) + return client.connection.call(command, *args, **kwargs) class AuthenticationError(Exception): pass