mirror of
https://github.com/anope/anope.git
synced 2026-07-04 16:53:16 +02:00
Added Anope::CurTime to keep us from calling time() everywhere
This commit is contained in:
@@ -54,7 +54,7 @@ class CommandBSSay : public Command
|
||||
}
|
||||
|
||||
ircdproto->SendPrivmsg(ci->bi, ci->name, "%s", text.c_str());
|
||||
ci->bi->lastmsg = time(NULL);
|
||||
ci->bi->lastmsg = Anope::CurTime;
|
||||
|
||||
// XXX need a way to find if someone is overriding this
|
||||
Log(LOG_COMMAND, u, this, ci) << text;
|
||||
|
||||
Reference in New Issue
Block a user