1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 12:56:38 +02:00

Use ts version of services stamp when the account is unconfirmed on Unreal as 3.2.10.4 has changed thie behavior

This commit is contained in:
Adam
2014-07-26 13:28:08 -04:00
parent 60229b15d2
commit 17ba13bc95
+2 -1
View File
@@ -345,7 +345,8 @@ class UnrealIRCdProto : public IRCDProto
void SendLogin(User *u, NickAlias *na) anope_override
{
if (Servers::Capab.count("ESVID") > 0)
/* 3.2.10.4+ treats users logged in with accounts as fully registered, even if -r, so we can not set this here. Just use the timestamp. */
if (Servers::Capab.count("ESVID") > 0 && !na->nc->HasExt("UNCONFIRMED"))
IRCD->SendMode(Config->GetClient("NickServ"), u, "+d %s", na->nc->display.c_str());
else
IRCD->SendMode(Config->GetClient("NickServ"), u, "+d %d", u->signon);