mirror of
https://github.com/anope/anope.git
synced 2026-06-29 05:46:37 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
@@ -48,7 +48,7 @@ class CommandBSAct : public Command
|
||||
message.erase(i, 1);
|
||||
|
||||
ircdproto->SendAction(ci->bi, ci->name, "%s", message.c_str());
|
||||
ci->bi->lastmsg = time(NULL);
|
||||
ci->bi->lastmsg = Anope::CurTime;
|
||||
|
||||
// XXX Need to be able to find if someone is overriding this.
|
||||
Log(LOG_COMMAND, u, this, ci) << message;
|
||||
|
||||
Reference in New Issue
Block a user