From 46030bbc7e4ca72fd35dd1d5fa272c3c91d8324a Mon Sep 17 00:00:00 2001 From: adam- Date: Sat, 12 Sep 2009 03:14:08 +0000 Subject: [PATCH] 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 --- src/protocol/inspircd11.c | 2 +- src/protocol/inspircd12.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c index 846f3f6fc..7d3d2f287 100644 --- a/src/protocol/inspircd11.c +++ b/src/protocol/inspircd11.c @@ -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(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(time(NULL)), nick, host, host, user, modes, real); send_cmd(nick, "OPERTYPE Service"); } diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index 32b881fbf..39abcfcb7 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -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(time(NULL)), nick, host, host, user, static_cast(time(NULL)), modes, real); + send_cmd(TS6SID, "UID %s %ld %s %s %s %s 0.0.0.0 %ld %s :%s", uid, static_cast(time(NULL)), nick, host, host, user, static_cast(time(NULL)), modes, real); } void SendKickInternal(BotInfo *source, const char *chan, const char *user, const char *buf)