X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/08d11e34cc17e3045231729d87025a0cfa598f54..90a3c35b295b07ebe3793bf5d3b882c3c1a5dc7c:/modules/m_who.c diff --git a/modules/m_who.c b/modules/m_who.c index 311045c..bb88259 100644 --- a/modules/m_who.c +++ b/modules/m_who.c @@ -24,7 +24,6 @@ * $Id: m_who.c 3350 2007-04-02 22:03:08Z jilles $ */ #include "stdinc.h" -#include "tools.h" #include "common.h" #include "client.h" #include "channel.h" @@ -379,7 +378,7 @@ do_who(struct Client *source_p, struct Client *target_p, const char *chname, con { char status[5]; - ircsprintf(status, "%c%s%s", + rb_sprintf(status, "%c%s%s", target_p->user->away ? 'G' : 'H', IsOper(target_p) ? "*" : "", op_flags); sendto_one(source_p, form_str(RPL_WHOREPLY), me.name, source_p->name,