mirror of
https://github.com/anope/anope.git
synced 2026-06-28 20:16:38 +02:00
Added a default expiry time for suspended and forbidden nicks and channels
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ NickAlias::NickAlias(const Anope::string &nickname, NickCore *nickcore)
|
||||
else if (!nickcore)
|
||||
throw CoreException("Empty nickcore passed to NickAlias constructor");
|
||||
|
||||
this->time_registered = this->last_seen = 0;
|
||||
this->time_registered = this->last_seen = Anope::CurTime;
|
||||
|
||||
this->nick = nickname;
|
||||
this->nc = nickcore;
|
||||
|
||||
Reference in New Issue
Block a user