mirror of
https://github.com/anope/anope.git
synced 2026-07-02 00:06:38 +02:00
Remove IRCdProto::SendGuestNick(). It's identical to IRCdProto::SendClientIntroduction().
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1513 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -701,11 +701,6 @@ class BahamutIRCdProto : public IRCDProto
|
||||
SendSQLine(nick, "Reserved for services");
|
||||
}
|
||||
|
||||
void SendGuestNick(const char *nick, const char *user, const char *host, const char *real, const char *modes)
|
||||
{
|
||||
send_cmd(NULL, "NICK %s 1 %ld %s %s %s %s 0 0 :%s", nick, static_cast<long>(time(NULL)), modes, user, host, ServerName, real);
|
||||
}
|
||||
|
||||
/* SVSMODE +d */
|
||||
/* sent if svid is something weird */
|
||||
void SendSVID(const char *nick, time_t ts)
|
||||
|
||||
@@ -436,7 +436,11 @@ void inspircd_cmd_chghost(const char *nick, const char *vhost)
|
||||
|
||||
int anope_event_idle(const char *source, int ac, const char **av)
|
||||
{
|
||||
send_cmd(av[0], "IDLE %s %ld 0", source, (long int) time(NULL));
|
||||
BotInfo *bi = findbot(s_OperServ);
|
||||
if (!bi)
|
||||
return MOD_CONT;
|
||||
|
||||
send_cmd(bi->uid, "IDLE %s %ld 0", source, (long int) time(NULL));
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
@@ -533,7 +537,7 @@ class InspIRCdProto : public IRCDProto
|
||||
|
||||
void SendNumericInternal(const char *source, int numeric, const char *dest, const char *buf)
|
||||
{
|
||||
send_cmd(source, "PUSH %s ::%s %03d %s %s", dest, source, numeric, dest, buf);
|
||||
send_cmd(TS6SID, "PUSH %s ::%s %03d %s %s", dest, source, numeric, dest, buf);
|
||||
}
|
||||
|
||||
void SendGuestNick(const char *nick, const char *user, const char *host, const char *real, const char *modes)
|
||||
|
||||
@@ -667,12 +667,6 @@ class UnrealIRCdProto : public IRCDProto
|
||||
}
|
||||
}
|
||||
|
||||
void SendGuestNick(const char *nick, const char *user, const char *host, const char *real, const char *modes)
|
||||
{
|
||||
send_cmd(NULL, "%s %s 1 %ld %s %s %s 0 %s %s%s :%s", send_token("NICK", "&"), nick, static_cast<long>(time(NULL)), user, host, ServerName, modes, host,
|
||||
myIrcd->nickip ? " *" : " ", real);
|
||||
}
|
||||
|
||||
void SendModeInternal(BotInfo *source, const char *dest, const char *buf)
|
||||
{
|
||||
if (!buf) return;
|
||||
|
||||
Reference in New Issue
Block a user