<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~steering/inspircd++.git/src/helperfuncs.cpp, branch v3.7.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://www.cgit.space/~steering/inspircd++.git/atom/src/helperfuncs.cpp?h=v3.7.0</id>
<link rel='self' href='https://www.cgit.space/~steering/inspircd++.git/atom/src/helperfuncs.cpp?h=v3.7.0'/>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/'/>
<updated>2020-04-24T09:23:47Z</updated>
<entry>
<title>Update copyright headers.</title>
<updated>2020-04-24T09:23:47Z</updated>
<author>
<name>InspIRCd Robot</name>
</author>
<published>2020-04-24T09:23:47Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=44489ddf7e90413d8f656aea24d74445bab227af'/>
<id>urn:sha1:44489ddf7e90413d8f656aea24d74445bab227af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes by misspell-fixer</title>
<updated>2020-04-21T06:52:12Z</updated>
<author>
<name>InspIRCd Robot</name>
</author>
<published>2020-04-21T06:34:17Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=4f9abe96a4301a740d4a5fd7932550d88d60a3fc'/>
<id>urn:sha1:4f9abe96a4301a740d4a5fd7932550d88d60a3fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update user-facing text and comments of SSL to TLS.</title>
<updated>2020-04-14T12:08:31Z</updated>
<author>
<name>Matt Schatz</name>
</author>
<published>2020-04-13T04:56:10Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=ccebfe6e637b420bef05e8e0faf29bb19f1883d9'/>
<id>urn:sha1:ccebfe6e637b420bef05e8e0faf29bb19f1883d9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright headers.</title>
<updated>2020-01-11T22:14:43Z</updated>
<author>
<name>InspIRCd Robot</name>
</author>
<published>2020-01-11T22:02:47Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=aa692dc1039b63deef7886e914ec499abe7facaf'/>
<id>urn:sha1:aa692dc1039b63deef7886e914ec499abe7facaf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve behaviour when running as root.</title>
<updated>2019-12-08T23:08:57Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2019-12-08T23:08:57Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=cca482b0061d43818e176c427616b0f6a4a86387'/>
<id>urn:sha1:cca482b0061d43818e176c427616b0f6a4a86387</id>
<content type='text'>
- Only give the annoying message about root if --runasroot is not
  specified.
- If --runasroot is specified then assume the user knows what they
  are doing.
- Move CheckRoot to a static function in inspircd.cpp.
</content>
</entry>
<entry>
<title>DurationString(): Return "0s" for a duration of 0 (#1677).</title>
<updated>2019-07-04T16:42:41Z</updated>
<author>
<name>Matt Schatz</name>
</author>
<published>2019-07-04T16:42:41Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=4681faacb542f75cf3ceba6924e3e936a809e01e'/>
<id>urn:sha1:4681faacb542f75cf3ceba6924e3e936a809e01e</id>
<content type='text'>
Usually a duration of 0 is not allowed or handled separately,
but it can also be used as a 'no set time' without separation.

Case in point: m_chanhistory calls DurationString() to convert
the max time seconds back to a human readable string for the
mode serializer. Returning a blank string is bad here.
</content>
</entry>
<entry>
<title>Fix years being offset from weeks (#1678).</title>
<updated>2019-07-04T16:30:23Z</updated>
<author>
<name>Matt Schatz</name>
</author>
<published>2019-07-04T16:30:23Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=3b8246ab07faa673bf4e11b8aa927a9d724aa7d3'/>
<id>urn:sha1:3b8246ab07faa673bf4e11b8aa927a9d724aa7d3</id>
<content type='text'>
Currently a duration of 52w will return a blank string.
When I added weeks to the calculations, I failed to update
the number of seconds to a year. As 365 days and 52 weeks
aren't the same, but the calculation needs to be consistent.</content>
</entry>
<entry>
<title>Add a function for displaying human-readable durations.</title>
<updated>2019-02-18T09:17:38Z</updated>
<author>
<name>Matt Schatz</name>
</author>
<published>2019-02-17T09:10:26Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=e02c22ff165c7b0dbe39343066a4167e94f5618e'/>
<id>urn:sha1:e02c22ff165c7b0dbe39343066a4167e94f5618e</id>
<content type='text'>
Add InspIRCd::DurationString() to take a time_t and return a string
with the duration in a human-readable format (ex: 1y20w2d3h5m9s).
</content>
</entry>
<entry>
<title>Only parse valid durations, don't treat invalid multipliers as seconds (#1538)</title>
<updated>2018-12-21T18:37:22Z</updated>
<author>
<name>linuxdaemon</name>
</author>
<published>2018-12-21T18:37:22Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=7530285740c2db1bc4457859b0d5f2436e0ed113'/>
<id>urn:sha1:7530285740c2db1bc4457859b0d5f2436e0ed113</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move IsValidDuration into the core.</title>
<updated>2018-11-24T23:27:16Z</updated>
<author>
<name>Peter Powell</name>
</author>
<published>2018-11-24T23:27:16Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=cc5aff3e5a7d83eb0154faf1540fc74959a6f0e5'/>
<id>urn:sha1:cc5aff3e5a7d83eb0154faf1540fc74959a6f0e5</id>
<content type='text'>
</content>
</entry>
</feed>
