summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
AgeCommit message (Collapse)Author
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-04-22Fix some oversights relating to numerics.Peter Powell
- ERR_CANNOTSENDTOCHAN only takes the channel name and a message. - ERR_INVALIDCAPCMD is 410 not 232.
2018-04-22Move a bunch of optional module numerics to the module source file.Peter Powell
2017-11-12Merge tag 'v2.0.25' into master.Peter Powell
2017-10-18Fix sending a malformed 410 numeric when sent empty CAP commands.Peter Powell
2016-09-02Fix Windows build and most MSVC warningsAttila Molnar
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-12-28Fix some whitespace issuesAttila Molnar
2015-12-28m_cap Fix incorrect syntax of empty CAP LIST replyAttila Molnar
Fixes issue #1120 reported by @ProgVal
2015-12-07Work around irc::spacesepstream not stripping extraneous spaces.Peter Powell
2015-12-07Fix CAP REQ to be atomic like the standard dictates.Peter Powell
Reported by @dequis on IRC.
2015-12-05m_cap Make Capability objects compatible with dynamic_references, add ↵Attila Molnar
Cap::Reference
2015-12-05m_cap Save and restore the cap state of a module when it is reloadedAttila Molnar
2015-12-05m_cap Specialize extension itemAttila Molnar
2015-12-05m_cap Provide the OnCapValueChange event and add ↵Attila Molnar
Cap::Manager::NotifyValueChange()
2015-12-05m_cap Provide the OnCapAddDel() eventAttila Molnar
2015-12-05m_cap Add Capability::GetCapValue(), list capabilities with valuesAttila Molnar
2015-12-05m_cap Reject CAP CLEAR from clients newer than 3.1Attila Molnar
2015-12-05m_cap Learn the supported capability negotiation protocol of a client from ↵Attila Molnar
CAP LS Let modules implementing caps query this information
2015-12-05m_cap Add Capability::OnList() hookAttila Molnar
2015-12-05m_cap Add Capability::OnRequest() hookAttila Molnar
2015-12-05Add rewritten m_cap moduleAttila Molnar
- Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps
2015-12-05Nuke m_capAttila Molnar
2015-02-11Convert the CAP event to use the new cross-module event systemAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-02-06Convert irc::stringjoiner to be a method instead of a class.Peter Powell
Add separator parameter
2014-02-06Fix various cases of UUID exposure.Peter Powell
- Introduce WriteCommand which sends * when the user has not registered. - Switch a ton of code to use WriteCommand instead of WriteServ. - Convert WriteNotice to be a wrapper around WriteCommand. - Only send * when NICK has not been sent instead of before registration.
2014-02-06m_cap Instead of using case insensitive compare convert the subcommand to ↵Attila Molnar
uppercase This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase
2013-11-21m_cap Convert capability names in CAP REQ to lowercase before processing themattilamolnar
Requested in #686
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-12Simplify stringjoiner: take 1 parameter, join from begin() to end() and use ↵attilamolnar
space as the sep char
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-12-02Attach to events and register services in init()attilamolnar
2012-06-27m_cap Fix crash when a user issued a CAP CLEAR request and the CapEvent had ↵attilamolnar
an empty list of removed CAPs
2012-06-27m_cap Use an enum to specify cap event type instead of a string, assign ↵attilamolnar
CapEvent data in the constructor
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-03-07Change "CAP *" reply to "CAP $nick", which is the intended use of the parameterdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12611 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-21Change module API to use LocalUser* where correctdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-14Move static map of extensions into ServerInstance, add const-correctnessdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Update Event and Request APIsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13Clean up Command constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7