diff options
| author | Adam <Adam@anope.org> | 2012-10-14 01:05:24 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-10-14 01:05:24 -0400 |
| commit | 4fdc157f68d2034c243563269ae12b5c27885a18 (patch) | |
| tree | 85c8828a7e4fbb1423e35eee40849a33ec4c08c4 /modules/commands | |
| parent | 0a950669cb18d297d1cf7cf9c57570653680e117 (diff) | |
Better clarify signon vs timestamp and allow updating users timestamp to an ircd given value from NICK
Diffstat (limited to 'modules/commands')
| -rw-r--r-- | modules/commands/ns_register.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index 4253b672b..f7675ca60 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -130,7 +130,7 @@ class CommandNSRegister : public Command return; } - if (u && !u->HasMode(UMODE_OPER) && Config->NickRegDelay && Anope::CurTime - u->my_signon < Config->NickRegDelay) + if (u && !u->HasMode(UMODE_OPER) && Config->NickRegDelay && Anope::CurTime - u->timestamp < Config->NickRegDelay) { source.Reply(_("You must have been using this nick for at least %d seconds to register."), Config->NickRegDelay); return; |
