aboutsummaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Use GetMaxMask in InspIRCd::IsValidMask instead of hardcoding 250.Gravatar Peter Powell2017-12-191-1/+1
* Convert GenRandom to std::function.Gravatar Peter Powell2017-11-251-1/+1
* Convert IsChannel to std::function.Gravatar Peter Powell2017-11-251-1/+1
* Convert IsIdent to std::function.Gravatar Peter Powell2017-11-251-1/+1
* Convert IsNick to std::function.Gravatar Peter Powell2017-11-251-1/+1
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-2/+2
* Switch the default datetime format to something easier to read.Gravatar Peter Powell2017-10-201-1/+1
* Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-25/+0
* Fix InspIRCd::StripColor() stripping characters that shouldn't be strippedGravatar Attila Molnar2015-12-291-1/+1
* Strip all control codes except \001 in InspIRCd::StripColor()•••Fixes issue #1100 reported by @uecasm Gravatar Attila Molnar2015-12-081-1/+2
* Deduplicate code in InspIRCd::FindNick()Gravatar Attila Molnar2015-12-071-8/+1
* Move InspIRCd::SendError() to cmd_die•••Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message Gravatar Attila Molnar2015-05-171-19/+0
* Move OnWhois* events to core_whois, add Whois::Context•••Remove InspIRCd::SendWhoisLine() Gravatar Attila Molnar2015-04-281-20/+0
* Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()Gravatar Attila Molnar2015-04-281-1/+3
* Access local user list via new UserManager::GetLocalUsers() and make local_us...Gravatar Attila Molnar2014-07-191-1/+2
* Move and rename typedef LocalUserList to UserManager::LocalListGravatar Attila Molnar2014-07-191-1/+1
* Add parameter to InspIRCd::TimeString for UTC time formats.•••Missing doc added by @attilamolnar Gravatar Peter Powell2014-06-251-2/+2
* Add formatting to InspIRCd::TimeString; switch all code to use it.•••m_httpd also now uses the correct timestamp format. Windows-specific fixes by @attilamolnar, original PR #849 Gravatar Peter Powell2014-06-251-2/+10
* Switch to std::string::compare() from substr() in a couple of placesGravatar Attila Molnar2014-05-261-1/+1
* Change allocation of UserManager::clientlist to be physically part of the obj...Gravatar Attila Molnar2014-03-151-4/+4
* Change allocation of UserManager::uuidlist to be physically part of the objec...Gravatar Attila Molnar2014-03-141-2/+2
* Change allocation of InspIRCd::chanlist to be physically part of the object c...Gravatar Attila Molnar2014-03-141-2/+2
* Move server description field from TreeServer into Server; remove OnGetServer...Gravatar Attila Molnar2014-01-051-17/+0
* Introduce Server class•••- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine() Gravatar Attila Molnar2014-01-051-17/+0
* Clean up CoreException•••- Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs Gravatar Attila Molnar2013-12-181-2/+2
* Fix issues discovered by Coverity•••- Fix resource leak in InspIRCd::Format() - Explicitly set NewServices to NULL before the object it points to goes out of scope Gravatar Daniel Vassdal2013-12-181-0/+2
* Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-1/+1
* Move prefix mode specific fields and getters into PrefixMode•••Add ModeHandler::IsPrefixMode() Gravatar attilamolnar2013-09-111-1/+1
* Merge insp20Gravatar attilamolnar2013-08-301-1/+20
|\
| * Fix crash caused by passing a large integer to ctime()•••In addition to verifying the return value of localtime(), correct tm_year if it is out of bounds Reported by @JDowny Gravatar attilamolnar2013-08-271-1/+20
* | Change the syntax of FOREACH macros to be less dumb.Gravatar Adam2013-08-041-1/+1
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* | Move a few trivial functions into headersGravatar attilamolnar2013-06-021-6/+0
* | Some systems with whacky va_list implementations do undefined stuff when vsnp...Gravatar Adam2013-05-231-3/+15
* | Merge pull request #545 from SaberUK/master+logging-cleanup•••Clean up the logging system (part 1 of 2).Gravatar Attila Molnar2013-05-211-23/+1
|\ \
| * | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-1/+1
| * | Purge a ton of code related to non <log> related logging.•••- InspIRCd::OpenLog - ./inspircd --logfile [file] This is no longer needed now we have (since 1.2) custom logging. Gravatar Peter Powell2013-05-191-22/+0
* | | Fixup last commitGravatar Adam2013-05-201-1/+1
* | | Replaced vsnprintf with VAFORMAT pretty much everywhere.Gravatar Daniel Vassdal2013-05-181-7/+3
* | | Added macro to allow simpler logic in functions with the need to vsnprintfGravatar Daniel Vassdal2013-05-181-5/+8
|/ /
* | Remove the size argument from IsChannel and IsNick.•••There was only one case (which was probably an error) where these methods were not set to their ServerLimits value. Gravatar Peter Powell2013-05-181-4/+4
* | Added a function to replace all the ugly sprintf-ing everywhereGravatar Daniel Vassdal2013-05-161-0/+13
* | Add method for writing server notices.•••This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name. Gravatar Peter Powell2013-05-141-2/+2
* | Remove const char* versions of InspIRCd::FindNick()/FindNickOnly()/FindUUID()...Gravatar attilamolnar2013-04-131-39/+0
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-2/+2
* | Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-20/+0
* | Convert InspIRCd::Duration() to be staticGravatar attilamolnar2013-04-031-1/+1
* | Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ strings...Gravatar attilamolnar2013-04-011-27/+14
* | Convert IsSID() to a static member function, modules shouldn't override itGravatar attilamolnar2013-04-011-1/+1
|/
* Remove ServerLimits::Finalise(), it's completely wrong•••Truncate <limits:identmax>+1 long idents in User::ChangeIdent() Gravatar attilamolnar2012-12-091-2/+2