diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-29 22:41:41 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-29 22:41:41 +0000 |
commit | 1abbafc07a53803d72865963907d15232b4fd6c5 (patch) | |
tree | 50711d59f81e75f7a8992204e0db3392142e677a /include | |
parent | ef314b4206905df4ac08c8ecd3fed1d3871ad2bf (diff) |
Added InspIRCd::GetTimeDelta() - previously m_alltime was using a hack to get the delta, which wasn't always reliable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5827 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 7fecf22ae..d0806a381 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -449,6 +449,11 @@ class InspIRCd : public classbase */ int SetTimeDelta(int delta); + /** Get the time offset in seconds + * @return The current time delta (in seconds) + */ + int GetTimeDelta(); + /** Process a user whos socket has been flagged as active * @param cu The user to process * @return There is no actual return value, however upon exit, the user 'cu' may have been deleted |