1
0
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:
adam-
2009-09-12 03:14:08 +00:00
parent 887c18a6bf
commit 46030bbc7e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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");
}
+1 -1
View File
@@ -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)