void conoutfv(int type, const char *fmt, va_list args) { string sf, sp; vformatstring(sf, fmt, args); filtertext(sp, sf); logoutf("%s", sp); }
void masteroutf(masterclient &c, const char *fmt, ...) { bigstring msg; va_list args; va_start(args, fmt); vformatstring(msg, fmt, args); va_end(args); masterout(c, msg); }
void conoutfv(int type, const char *fmt, va_list args) { //remod //logoutfv(fmt, args); // remod static char buf[LOGSTRLEN]; vformatstring(buf, fmt, args, sizeof(buf)); logoutf("%s", buf); filtertext(buf, buf); remod::rcon::sendmsg(buf); }
static void writelogv(FILE *file, const char *fmt, va_list args) { static char buf[LOGSTRLEN]; vformatstring(buf, fmt, args, sizeof(buf)); writelog(file, buf); }