def irc_cmd(server, nick, user, host, target, msg, data): if is_adm(host): send_cmd(server, data)
def irc_cmd(server, nick, user, host, target, msg, data): # is_adm(host) checks whether the user is authenticated # in order to send back to the server the irc command. if is_adm(host): send_cmd(server, data)