From a6f0b5e8d42307afc489d46c7c7724b0c0d05b70 Mon Sep 17 00:00:00 2001 From: rburchell Date: Fri, 3 Apr 2009 17:37:15 +0000 Subject: [PATCH] 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 --- src/protocol/ratbox.c | 3 +-- 1 file changed, 1 insertion(+), 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(time(NULL)), modes, user, host, uidbuf, real); + send_cmd(TS6SID, "UID %s 1 %ld %s %s %s 0 %s :%s", nick, static_cast(time(NULL)), modes, user, host, uid, real); SendSQLine(nick, "Reserved for services"); }