summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-27 21:43:17 -0500
committerAdam <Adam@anope.org>2012-11-27 21:43:17 -0500
commita1a5ba072326acbd24e1357c562160d8e56086c0 (patch)
tree230f335c6ed311c3b632412799855a6f4f551703 /modules/protocol/unreal.cpp
parent8a6962fc363410928dc8d7c197fd3fbf3e315597 (diff)
Use signon for svid on unreal, not timestamp
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index 08fe8d237..a14091c96 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -345,7 +345,7 @@ class UnrealIRCdProto : public IRCDProto
if (Servers::Capab.count("ESVID") > 0)
IRCD->SendMode(NickServ, u, "+d %s", u->Account()->display.c_str());
else
- IRCD->SendMode(NickServ, u, "+d %d", u->timestamp);
+ IRCD->SendMode(NickServ, u, "+d %d", u->signon);
}
void SendLogout(User *u) anope_override
@@ -809,7 +809,7 @@ struct IRCDMessageNick : IRCDMessage
;
else if (params[6].is_pos_number_only())
{
- if (convertTo<time_t>(params[6]) == user->timestamp)
+ if (convertTo<time_t>(params[6]) == user->signon)
na = NickAlias::Find(user->nick);
}
else