diff options
author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-12 03:14:08 +0000 |
---|---|---|
committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-09-12 03:14:08 +0000 |
commit | 46030bbc7e4ca72fd35dd1d5fa272c3c91d8324a (patch) | |
tree | d8cb9778a19d4e09f3c48117bcf1309a754c60ab /src | |
parent | 887c18a6bf3815d345031e746a0bbd800f7f0f81 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/inspircd11.c | 2 | ||||
-rw-r--r-- | 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<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"); } 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<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) |