summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2013-07-19Replace hardcoded mode letters, part 3attilamolnar
This changes most remaining User::IsModeSet() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Move SetNoticeMask(), FormatNoticeMasks() and ProcessNoticeMasks() from the ↵attilamolnar
User class to the snomask modehandler
2013-07-19Replace hardcoded mode letters, part 2attilamolnar
This changes all remaining Channel::IsModeSet() and Channel::GetModeParameter() calls to use ModeReferences for modes that were created by other modules or the core
2013-07-19Seperate ModeReference into ChanModeReference and UserModeReferenceattilamolnar
2013-07-16m_ssl_openssl Fix inverted check that prevented certificates from being ↵attilamolnar
recognized as trusted
2013-07-09m_userip Fix incorrect "variable may be used uninitialized" warning shown by ↵attilamolnar
older GCC versions
2013-07-06Allow the user to specify any hashing mechanism supported by the underlying ↵Daniel Vassdal
SSL library
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-07-01Fix a few oversightsattilamolnar
This partially reverts e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f
2013-06-24Prevent m_cgiirc from blocking indefinitely, resulting in registration ↵ElementalAlchemist
timeouts on e.g. Mibbit when webirc is not used
2013-06-24m_repeat Optimize the Levenshtein() functionattilamolnar
New version uses 2 vectors instead of a matrix Do not shrink the vectors even if the user sets a lower <repeat:size> than before, this is because longer lines may remain in the backlog
2013-06-16Always set the topic in Channel::SetTopic(), move access checks into cmd_topicattilamolnar
2013-06-16Add RE2 regex module.Peter Powell
2013-06-16m_banredirect Accept channel names starting with #! and #@Daniel Vassdal
Fixes #504 reported by @mechasr
2013-06-13Call Channel::SetModeParam() from the mode parser when needed instead of ↵attilamolnar
requiring mode handlers to do it
2013-06-13Remove TR_END, remove TRANSLATEx() from commands that do not need itattilamolnar
2013-06-13Rewrite CommandParser::TranslateUIDs()attilamolnar
2013-06-13Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵attilamolnar
indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
2013-06-12m_spanningtree Move SVSMODE -> MODE translation into the appropiate place, ↵attilamolnar
ignore non-channel METADATA
2013-06-12m_spanningtree Rewrite incoming (E|G|K|Q|Z)LINE commands from 2.0 servers ↵attilamolnar
into ADDLINE/DELLINE These commands were never documented to be usable in the server protocol but we accepted them nevertheless from servers
2013-06-12Get rid of the OnRemoteKill hook, make use of GetRouting() and TR_CUSTOM to ↵attilamolnar
route KILLs
2013-06-12Implement GetRouting() in core commands that require it, remove ugly ↵attilamolnar
workaround from spanningtree RouteCommand()
2013-06-12m_callerid Route ACCEPT to the server of the target user only, do not send ↵attilamolnar
METADATA at all ACCEPTs coming from 2.0 servers with a list of uuids are broadcast, as before
2013-06-12CommandParser::LoopCall() changesattilamolnar
- Change function to be static, return a bool - Do not filter duplicates when there are 2 lists (JOIN) - Remove validation of 'extra' parameter, caller must pass either a valid index or -1
2013-06-12Change command name parameter of OnPostCommand to be a Command*attilamolnar
2013-06-12Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵attilamolnar
space as the sep char
2013-06-12m_banredirect Fix modestack usageattilamolnar
2013-06-12m_spanningtree FJOIN handler: Merge and take maxmodes into consideration ↵attilamolnar
when applying non-prefix modes
2013-06-10Added m_repeat - Allows for blocking of similiar messagesDaniel Vassdal
Changes to the original module: - Parse settings using a sepstream, accept remote mode changes regardless of our config - Refuse to link when config settings differ - Style changes All ideas and features are the brainchild and work of Daniel Vassdal
2013-06-07Change the API of m_httpd to be dynamic_reference-basedattilamolnar
2013-06-07Change the API of m_sslinfo to be dynamic_reference-basedattilamolnar
2013-06-07Create SSLIOHook interface that provides GetCertificate()attilamolnar
2013-06-07Create IOHook interface (extracted from Module)attilamolnar
2013-06-06Store prefix rank in a ModeHandler field, change ↵attilamolnar
ModeHandler::GetPrefixRank() to be non-virtual
2013-06-06Convert a ton of uses of MAXBUF to use a fixed buffer size.Peter Powell
2013-06-06Replace some C string operations with the + operator.Peter Powell
2013-06-06Use InspIRCd::Format instead of snprintf().Peter Powell
2013-06-06Use iostream instead of C-style file operations.Peter Powell
2013-06-06Compare to ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Reserve ServerLimits::MaxLine instead of MAXBUF.Peter Powell
2013-06-06Merge insp20attilamolnar
2013-06-05Remove unnecessary string copies and dead codeattilamolnar
2013-06-04m_spanningtree Fix FIDENT routingattilamolnar
A new FIDENT was broadcast for each incoming FIDENT causing harmless but unnecessary server to server traffic
2013-06-04m_pgsql Same fix as 0e09600a431d0e0f2cde6457e088d84caf6d6f5dattilamolnar
2013-06-04Reduce User* -> Membership* lookups on part and kickattilamolnar
2013-06-04Remove NULL checks from various Channel functionsattilamolnar
Passing NULL to these functions are not permitted and must be avoided by the caller
2013-06-02Route WALLOPS like a regular command, remove OnWallops hookattilamolnar
2013-06-02m_devoice Remove FindChan() and HasUser() checks, these are done when ↵attilamolnar
parsing the mode change
2013-06-01Watch mode names with ModeWatchers instead of mode lettersattilamolnar