summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/channels.h b/include/channels.h
index ec886c9ca..73c97d3aa 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -23,7 +23,7 @@ struct UserData
void Clear()
{
- last_use = last_start = time(NULL);
+ last_use = last_start = Anope::CurTime;
lines = times = 0;
lastline.clear();
}
@@ -77,7 +77,7 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags>
* @param name The channel name
* @param ts The time the channel was created
*/
- Channel(const Anope::string &nname, time_t ts = time(NULL));
+ Channel(const Anope::string &nname, time_t ts = Anope::CurTime);
/** Default destructor
*/