mirror of
https://github.com/anope/anope.git
synced 2026-06-30 04:56:38 +02:00
Correctly send modes string when introducing psuedo clients on InspIRCd
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2497 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -537,7 +537,7 @@ class InspIRCdProto : public IRCDProto
|
||||
|
||||
void SendClientIntroduction(const char *nick, const char *user, const char *host, const char *real, const char *modes, const char *uid)
|
||||
{
|
||||
send_cmd(ServerName, "NICK %ld %s %s %s %s +%s 0.0.0.0 :%s", static_cast<long>(time(NULL)), nick, host, host, user, modes, real);
|
||||
send_cmd(ServerName, "NICK %ld %s %s %s %s %s 0.0.0.0 :%s", static_cast<long>(time(NULL)), nick, host, host, user, modes, real);
|
||||
send_cmd(nick, "OPERTYPE Service");
|
||||
}
|
||||
|
||||
|
||||
@@ -542,7 +542,7 @@ class InspIRCdProto : public IRCDProto
|
||||
|
||||
void SendClientIntroduction(const char *nick, const char *user, const char *host, const char *real, const char *modes, const char *uid)
|
||||
{
|
||||
send_cmd(TS6SID, "UID %s %ld %s %s %s %s 0.0.0.0 %ld +%s :%s", uid, static_cast<long>(time(NULL)), nick, host, host, user, static_cast<long>(time(NULL)), modes, real);
|
||||
send_cmd(TS6SID, "UID %s %ld %s %s %s %s 0.0.0.0 %ld %s :%s", uid, static_cast<long>(time(NULL)), nick, host, host, user, static_cast<long>(time(NULL)), modes, real);
|
||||
}
|
||||
|
||||
void SendKickInternal(BotInfo *source, const char *chan, const char *user, const char *buf)
|
||||
|
||||
Reference in New Issue
Block a user