summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
AgeCommit message (Expand)Author
2021-03-05Update copyright headers.InspIRCd Robot
2020-10-30Update copyright headers.InspIRCd Robot
2020-09-23Refactor GenRandomStr for performance and readability.Sadie Powell
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-04-14Update user-facing text and comments of SSL to TLS.Matt Schatz
2020-01-11Update copyright headers.InspIRCd Robot
2019-12-08Improve behaviour when running as root.Peter Powell
2019-07-04DurationString(): Return "0s" for a duration of 0 (#1677).Matt Schatz
2019-07-04Fix years being offset from weeks (#1678).Matt Schatz
2019-02-18Add a function for displaying human-readable durations.Matt Schatz
2018-12-21Only parse valid durations, don't treat invalid multipliers as seconds (#1538)linuxdaemon
2018-11-24Move IsValidDuration into the core.Peter Powell
2018-11-20Add missing special character for reversing color.Robby
2018-11-18Fix single backslashes in the MOTD erroneously being removed.Peter Powell
2018-07-20Use arc4random_buf() instead of random() when available.Peter Powell
2018-07-10Add InspIRCd::IsHost for checking the validity of hostnames.Peter Powell
2018-04-22Improve support for MOTD escape codes.Peter Powell
2018-01-03Make InspIRCd::Format return std::string instead of const char*.Peter Powell
2017-12-19Use GetMaxMask in InspIRCd::IsValidMask instead of hardcoding 250.Peter Powell
2017-11-25Convert GenRandom to std::function.Peter Powell
2017-11-25Convert IsChannel to std::function.Peter Powell
2017-11-25Convert IsIdent to std::function.Peter Powell
2017-11-25Convert IsNick to std::function.Peter Powell
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-10-20Switch the default datetime format to something easier to read.Peter Powell
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell
2015-12-29Fix InspIRCd::StripColor() stripping characters that shouldn't be strippedAttila Molnar
2015-12-08Strip all control codes except \001 in InspIRCd::StripColor()Attila Molnar
2015-12-07Deduplicate code in InspIRCd::FindNick()Attila Molnar
2015-05-17Move InspIRCd::SendError() to cmd_dieAttila Molnar
2015-04-28Move OnWhois* events to core_whois, add Whois::ContextAttila Molnar
2015-04-28Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()Attila Molnar
2014-07-19Access local user list via new UserManager::GetLocalUsers() and make local_us...Attila Molnar
2014-07-19Move and rename typedef LocalUserList to UserManager::LocalListAttila Molnar
2014-06-25Add parameter to InspIRCd::TimeString for UTC time formats.Peter Powell
2014-06-25Add formatting to InspIRCd::TimeString; switch all code to use it.Peter Powell
2014-05-26Switch to std::string::compare() from substr() in a couple of placesAttila Molnar
2014-03-15Change allocation of UserManager::clientlist to be physically part of the obj...Attila Molnar
2014-03-14Change allocation of UserManager::uuidlist to be physically part of the objec...Attila Molnar
2014-03-14Change allocation of InspIRCd::chanlist to be physically part of the object c...Attila Molnar
2014-01-05Move server description field from TreeServer into Server; remove OnGetServer...Attila Molnar
2014-01-05Introduce Server classAttila Molnar
2013-12-18Clean up CoreExceptionAttila Molnar
2013-12-18Fix issues discovered by CoverityDaniel Vassdal
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick au...Adam
2013-09-11Move prefix mode specific fields and getters into PrefixModeattilamolnar
2013-08-30Merge insp20attilamolnar
2013-08-27Fix crash caused by passing a large integer to ctime()attilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam