diff options
author | Adam <Adam@anope.org> | 2014-07-26 13:28:08 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-07-26 13:28:43 -0400 |
commit | 17ba13bc957ebdda962944dcf6031355448f366d (patch) | |
tree | b8d86c734f47dfdef78a43ae520e0dc51d479935 /modules/protocol/unreal.cpp | |
parent | 60229b15d2637369977596f742b234b52a6f6f1a (diff) |
Use ts version of services stamp when the account is unconfirmed on Unreal as 3.2.10.4 has changed thie behavior
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r-- | modules/protocol/unreal.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index 4aa340f08..6f744f22f 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -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); |