diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-03 17:37:15 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-03 17:37:15 +0000 |
commit | a6f0b5e8d42307afc489d46c7c7724b0c0d05b70 (patch) | |
tree | 8c459fdff6126677278c5f9a13e606b78512967a /src/protocol/ratbox.c | |
parent | 821c6ac90b77fe9c4ffec3269a54461822673dba (diff) |
Don't generate UID twice in ratbox protocol module. This is a leftover from before the core generated UIDs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2248 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index 3e20f33cf..cb9fc7b62 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -600,8 +600,7 @@ class RatboxProto : public IRCDTS6Proto void SendClientIntroduction(const char *nick, const char *user, const char *host, const char *real, const char *modes, const char *uid) { EnforceQlinedNick(nick, NULL); - const char *uidbuf = ts6_uid_retrieve(); - send_cmd(TS6SID, "UID %s 1 %ld %s %s %s 0 %s :%s", nick, static_cast<long>(time(NULL)), modes, user, host, uidbuf, real); + send_cmd(TS6SID, "UID %s 1 %ld %s %s %s 0 %s :%s", nick, static_cast<long>(time(NULL)), modes, user, host, uid, real); SendSQLine(nick, "Reserved for services"); } |