'Determine the function to call for the given command and call it with
the given arguments.
@param command: The IRC command to determine the function for.
@type command: L{bytes}
@param prefix: The prefix of the IRC message (as returned by
L{parsemsg}).
@type prefix: L{bytes}
@param params: A list of parameters to call the function with.
@type params: L{list}'

def handleCommand(self, command, prefix, params):

    method = getattr(self, ('irc_%s' % command), None)
    try:
        if (method is not None):
            method(prefix, params)
        else:
            self.irc_unknown(prefix, command, params)
    except:
        log.deferr()
