summaryrefslogtreecommitdiff
path: root/src/modules/m_classban.cpp
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-02-17 02:10:26 -0700
committerPeter Powell <petpow@saberuk.com>2019-02-18 09:17:38 +0000
commite02c22ff165c7b0dbe39343066a4167e94f5618e (patch)
tree5519c2b6df33e206fac03c99104d40a94a86d34e /src/modules/m_classban.cpp
parent21e7efdadfa685ac1ddcb0a0a515502bc873302b (diff)
Add a function for displaying human-readable durations.
Add InspIRCd::DurationString() to take a time_t and return a string with the duration in a human-readable format (ex: 1y20w2d3h5m9s).
Diffstat (limited to 'src/modules/m_classban.cpp')
0 files changed, 0 insertions, 0 deletions