summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-09-08Remove IPv6 address compaction.Adam
This code is incorrect and can produce addresses with multiple double colons. No other IRCds do this and most systems today will give us the compact version anyway. Issue #914
2014-09-08Do not use the result of the dns cache when the query type of the result is ↵Adam
different from the type of the query. #66
2014-09-05cmode_l Reject negative limitsAttila Molnar
2014-09-05m_services_account Fix uninitialized variable usage introduced by insp20 ↵Attila Molnar
merge e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804
2014-09-05m_samode Simplify command handler logicAttila Molnar
2014-09-05Unset oper-only modes in User::UnOper() in a more sensible wayAttila Molnar
Get the user mode list from the ModeParser instead of trying all possible mode letters
2014-09-04cmd_mode Exempt remote users and servers from max modes limitation when ↵Attila Molnar
changing user modes
2014-09-04Migrate code from ModeParser into cmd_mode (core_user)Attila Molnar
- Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes()
2014-09-04core_user Expand the MODE handler into its own fileAttila Molnar
2014-09-04Split ModeParser::DisplayListMode() into two partsAttila Molnar
ShowListModeList() sends the list of one listmode to a user, DisplayListMode() calls it for each mode letter
2014-09-04Remove unused parameter passed to ModeParser::DisplayCurrentModes()Attila Molnar
2014-09-04m_namedmodes Build and process a Modes::ChangeList when handling PROPAttila Molnar
2014-09-04Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableAttila Molnar
This gets rid of the duplicated mode parsing logic in m_namedmodes
2014-09-04Call the MODE command handler in several modules instead of the old ↵Attila Molnar
ModeParser::Process()
2014-09-04m_spanningtree Simplify processing non-prefix modes in FJOINsAttila Molnar
Use ModeParser::ModeParamsToChangeList() instead of duplicating logic
2014-09-04m_spanningtree Apply FMODE mode changes using the new ModeParser functionsAttila Molnar
2014-09-04Let callers customize the begin/end positions for ↵Attila Molnar
ModeParser::ModeParamsToChangeList() This helps spanningtree when it deals with a vector of parameters where the modes begin at different positions
2014-09-04m_services_account Call ModeHandler::RemoveMode() instead of duplicating codeAttila Molnar
2014-09-03Remove irc::modestackerAttila Molnar
2014-09-03m_spanningtree Remove CommandFJoin::ApplyModeStack()Attila Molnar
2014-09-03Use Modes::ChangeList in ModeHandler::RemoveMode()Attila Molnar
2014-09-03Replace irc::modestacker usage with the new ModeParser::Process()Attila Molnar
2014-09-03Add a ModeParser::Process() overload that can process an entire ↵Attila Molnar
Modes::ChangeList This is a wrapper that calls ProcessSingle() repeatedly until the entire changelist is processed
2014-09-03Make it possible to resume processing a partially processed Modes::ChangeListAttila Molnar
Return number of processed mode changes from ModeParser::ProcessSingle() and add a begin index parameter
2014-09-03Split out ModeParser::ModeParamsToChangeList()Attila Molnar
2014-09-03Handle mode merges in ModeParser::ProcessSingle()Attila Molnar
2014-09-03Validate mode parameters from ModeParser::ProcessSingle()Attila Molnar
2014-09-03Split out ModeParser::ProcessSingle() from Process()Attila Molnar
This applies up to one MODE line's worth of mode changes from a Modes::ChangeList
2014-09-03Add mode process flag MODE_CHECKACCESSAttila Molnar
2014-09-03Remove ModeHandler::m_paramtype and GetTranslateType()Attila Molnar
2014-09-03Remove ModeParser::LastParseTranslate and GetLastParseTranslate()Attila Molnar
2014-09-03Remove ModeParser::LastParseParams and GetLastParseParams()Attila Molnar
2014-09-03Compare Limits.MaxModes to the size of LastChangeList in ModeParser::Process()Attila Molnar
2014-09-03Remove ProtocolInterface::SendMode()Attila Molnar
2014-09-03m_spanningtree Send MODE/FMODE from the OnMode hookAttila Molnar
If the MODE_LOCALONLY flag is set the mode change is not propagated
2014-09-03m_spanningtree Add function to serialize parameters in a ↵Attila Molnar
Modes::ChangeList::List into MODE/FMODE format
2014-09-03Pass the modes to the OnMode hook as a Modes::ChangeList, pass ↵Attila Molnar
ModeProcessFlags too
2014-09-03Populate a Modes::ChangeList object in ModeParser::Process()Attila Molnar
2014-09-02Change mode_sequence to be a const ref in ModeParser::Process()Attila Molnar
Also change the signature of DisplayListModes() to accept a const ref
2014-09-02Replace stringstream with a std::string in ModeParser::Process()Attila Molnar
There is no benefit in using a stringstream here
2014-09-02m_sqlite3 Fix cleanup of unsuccessful database connectionsAttila Molnar
2014-09-01m_spanningtree Add optional key parameter to SVSJOIN and allow it to do ↵Attila Molnar
override joins Slightly more readable version of #892 by @ShutterQuick
2014-08-31m_blockamsg Update coding style, use User::WriteNotice()Attila Molnar
2014-08-31m_blockamsg Remove redundant checkAttila Molnar
2014-08-31m_blockamsg Uncrook channel counting logicAttila Molnar
2014-08-31m_blockamsg Prevent double copy of the target stringAttila Molnar
2014-08-31m_blockamsg Remove useless variableAttila Molnar
2014-08-30Move the intrusive list containers into the insp namespaceAttila Molnar
2014-08-06m_ojoin Change allocation of NetworkPrefix to be physically part of the ↵Attila Molnar
object containing it
2014-08-06m_ojoin Leave it to the core throw an exception if the prefix char is in useAttila Molnar