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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user