#include "msg.h"
#include "parse.h"
#include "modules.h"
-#include "sprintf_irc.h"
#include "whowas.h"
#include "monitor.h"
#include "s_stats.h"
#include "snomask.h"
-#include "irc_string.h"
+#include "match.h"
#include "s_user.h"
static int me_svslogin(struct Client *, struct Client *, int, const char **);
kill_client_serv_butone(NULL, exist_p, "%s (Nickname regained by services)",
me.name);
- snprintf(buf, sizeof(buf), "Killed (%s (Nickname regained by services))",
+ rb_snprintf(buf, sizeof(buf), "Killed (%s (Nickname regained by services))",
me.name);
exit_client(NULL, exist_p, &me, buf);
}else if((exist_p = find_client(nick)) && IsUnknown(exist_p) && exist_p != target_p) {
sendto_server(client_p, NULL, CAP_TS6, NOCAPS, ":%s SIGNON %s %s %s %ld %s",
use_id(target_p), nick, user, host,
(long) target_p->tsinfo, *login ? login : "0");
- sendto_server(client_p, NULL, NOCAPS, CAP_TS6, ":%s SIGNON %s %s %s %ld %s",
- target_p->name, nick, user, host,
- (long) target_p->tsinfo, *login ? login : "0");
strcpy(target_p->user->suser, login);