mirror of
https://github.com/anope/anope.git
synced 2026-07-04 22:13:12 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
@@ -59,7 +59,7 @@ class CommandOSSVSNick : public Command
|
||||
{
|
||||
notice_lang(Config->s_OperServ, u, OPER_SVSNICK_NEWNICK, nick.c_str(), newnick.c_str());
|
||||
ircdproto->SendGlobops(OperServ, "%s used SVSNICK to change %s to %s", u->nick.c_str(), nick.c_str(), newnick.c_str());
|
||||
ircdproto->SendForceNickChange(u2, newnick, time(NULL));
|
||||
ircdproto->SendForceNickChange(u2, newnick, Anope::CurTime);
|
||||
}
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user