pending_templates = pending;
}
-static struct svccmd *
+struct svccmd *
svccmd_resolve_name(struct svccmd *origin, const char *name) {
char *sep, svcname[MAXLEN];
slvl = LOG_COMMAND;
/* Unsplit argv after running the function to get the benefit
* of any mangling/hiding done by the commands. */
- log_audit(cmd->command->parent->clog, slvl, user, service->bot, channel_name, ((flags & MODCMD_LOG_HOSTMASK) ? AUDIT_HOSTMASK : 0), unsplit_string(argv, argc, NULL));
+ log_audit(cmd->command->parent->clog, slvl, user, service->bot, channel_name, AUDIT_HOSTMASK, unsplit_string(argv, argc, NULL));
}
return 1;
}
*/
snprintf(response, sizeof(response), "\x01VERSION %s\x01", PACKAGE_STRING);
irc_notice_user(bot, user, response);
+ } else if (!irccasecmp(text, "GENDER")) {
+ snprintf(response, sizeof(response), "\x01GENDER ummm im still deciding\x01");
+ irc_notice_user(bot, user, response);
}
return;
}