summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2017-07-27Merge pull request #1271 from SaberUK/master+exemptionPeter Powell
Move the OnCheckExemption hook out of the core.
2017-07-24Replace the deprecated MAXBANS token with MAXLIST.Peter Powell
2017-07-24Add DEFAULT_LIST_SIZE for the default list mode size.Peter Powell
2017-07-13Improve the numerics we send in response to MAP.Peter Powell
- Send the same numerics as ircu/ircd-hybrid/charybdis/ratbox/etc. These are much more widespread and predate the Unreal numeric we currently send. - Move RPL_MAPUSERS to 018. This numeric is unused and does not conflict with RPL_PRIVS like our current one does.
2017-07-12Merge pull request #1267 from SaberUK/master+configPeter Powell
Store config values in a map instead of a unique vector of pairs.
2017-07-12Add CXX11_OVERRIDE to overridden members that lack it.Peter Powell
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
2017-07-12Merge pull request #1337 from SaberUK/master+mergePeter Powell
Merge v2.0.23 and v2.0.24 into master.
2017-07-11Improve and centralize socket engine event counters.Robin Burchell
The write counters were close to useless because they were only incremented on a write "event" which is only triggered when writing would block. Read handling was a little more useful in that all reads must happen through the socket engine, so these were happening at the correct time, but we can clean this up by doing it in the SE itself rather than each platform port. This means that both read and write events are now easily and usefully defined as "a syscall of either read or write was attempted". We also count empty read and write events as being an event, because they still were an attempt to poll a socket in some way. This may help to identify "bad" code which is repeatedly trying to read a socket for some reason. Lastly, we check for failed read/write calls, and log them as an error event. A lot of the time, this is how sockets are determined as being disconnected (ie. at read/write time). While we're at it, split Update() in two to make the calls more self-describing. This has no real impact since only one call is made at a time anyway.
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-04-23core_dns: add support for txt recordsAdam
This might be used later by m_dnsbl to get reasons for listings
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell
2017-03-20Fix some compiler warnings.Peter Powell
warning: macro name is a reserved identifier [-Wreserved-id-macro] warning: extra ';' after member function definition [-Wextra-semi]
2017-02-28Allow <log> tags to specify how often logs should be flushed.Peter Powell
Also use the behaviour behind this to fix #1290.
2017-02-04Make the config system case insensitive.Peter Powell
2016-12-30cmd_mode Switch to a numeric for showing modes of other usersAttila Molnar
2016-12-30Clean up User::FormatModes(), rename to GetModeLetters()Attila Molnar
Prefix the returned string with '+'
2016-12-30Make ModeHandler::GetUserParameter() const, accept const UserAttila Molnar
2016-12-30Make all User::IsModeSet() methods const, accept const ModeHandlerAttila Molnar
2016-12-30Deduplicate nickname overruling codeAttila Molnar
Create LocalUser::OverruleNick(), call it from User::ChangeNick() and the UID handler in spanningtree
2016-12-30Remove remaining doxygen doc for "pcnt" parametersAttila Molnar
2016-12-08Store config values in a map instead of a unique vector of pairs.Peter Powell
2016-10-25Allow classes to take a port range.Peter Powell
2016-09-02Update stuff for the new versioning system.Peter Powell
2016-09-02Bump version to 3.0 in comments and messagesAttila Molnar
2016-09-02Fix Windows build and most MSVC warningsAttila Molnar
2016-09-02Fix whitespace issuesAttila Molnar
2016-08-30Return std::string from Membership::GetAllPrefixChars()Attila Molnar
2016-08-30Change Membership:hasMode() to accept a PrefixModeAttila Molnar
2016-08-30Pass the ModeHandler to User::HasModePermission()Attila Molnar
Mark the method as const
2016-08-30Add const versions of ModeHandler::IsPrefixMode(), IsListModeBase() and ↵Attila Molnar
IsParameterMode()
2016-08-29Mark ModeHandler::GetModeChar() and ModeWatcher::GetModeType() as constAttila Molnar
2016-08-29Convert ModeHandler::GetNumParams() to NeedsParam() that returns a boolAttila Molnar
2016-08-29Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and ↵Attila Molnar
extract into a method
2016-08-29Remove unused EventHandlerIter typedefAttila Molnar
2016-08-25core_dns Make question a member of request, move common FindAnswerOfType to ↵Adam
be a member of query
2016-08-24Update UserManager documentation and commentsAttila Molnar
2016-08-22Update documentation in hashcomp.hAttila Molnar
2016-08-22Remove all non-member irc::string operatorsAttila Molnar
2016-08-22Remove now unused SearchAndReplace() functionAttila Molnar
2016-08-22Add stdalgo::string::replace() and replace_all()Attila Molnar
2016-08-22Remove now unused assign() functionsAttila Molnar
2016-08-22Create irc::equals() from StrHashCompAttila Molnar
Make StrHashComp a wrapper around it
2016-08-22Add stdalgo::string::equalsci and use it instead of irc::string for ↵Attila Molnar
case-insensitive comparison
2016-08-22Replace irc::string in XLineLookup with irc::insensitive_swo mapAttila Molnar
2016-08-22Replace irc::string usage in CommandParser::LoopCall() with ↵Attila Molnar
irc::insensitive_swo set
2016-08-22Remove unused irc::tokenstream::GetToken() overload accepting an irc::stringAttila Molnar
2016-08-22Remove unused irc::hashAttila Molnar
2016-08-22Remove unused trim() functionAttila Molnar
2016-08-17Merge insp20Attila Molnar
2016-08-11Update description of class EventHandlerAttila Molnar
Readable() and Writeable() was removed long ago