diff --git a/src/commands/cmdhandler.py b/src/commands/cmdhandler.py index a028f72acd..4f9a240cc6 100644 --- a/src/commands/cmdhandler.py +++ b/src/commands/cmdhandler.py @@ -81,7 +81,7 @@ class ExecSystemCommand(Exception): # Helper function @inlineCallbacks -def _get_and_merge_cmdsets(caller): +def get_and_merge_cmdsets(caller): """ Gather all relevant cmdsets and merge them. Note that this is only relevant for logged-in callers. @@ -171,7 +171,7 @@ def cmdhandler(caller, raw_string, testing=False): try: # catch bugs in cmdhandler itself try: # catch special-type commands - cmdset = yield _get_and_merge_cmdsets(caller) + cmdset = yield get_and_merge_cmdsets(caller) if not cmdset: # this is bad and shouldn't happen. raise NoCmdSets