1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 15:03:13 +02:00

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
This commit is contained in:
rburchell
2009-04-03 17:37:15 +00:00
parent 821c6ac90b
commit a6f0b5e8d4
+1 -2
View File
@@ -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");
}