summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
AgeCommit message (Collapse)Author
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
2009-09-13Change Extensible to use strongly typed entriesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02ModResult conversion: Change return type of all module functionsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Add Module* creator to Command and ModeHandlerdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02Change allocation of commands/modesdanieldg
API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15Update all wiki links to point to the new wiki. This was done automatically ↵psychon
with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-02Update copyrights for 2009.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-28Make this comply with the spec; that is - CAP may be requested after ↵w00t
registration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10333 e03df62e-2008-0410-955e-edbf42e46eb7
2008-08-25Change module versions to use a string instead of fixed digits, and use ↵w00t
propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7
2008-07-14Lots, lots more numerics.h conversionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-11fixed some indentation and spacing in modulespippijn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-08Ignore CAP from clients that have already registeredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9877 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04Convert a whole bunch morepeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9620 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-24Finally change all the Version() objectsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9185 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-22Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that ↵brain
OnNumeric can capture them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-19Nak vector thingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9133 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18oh, DOHbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9127 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Crash fixes from nenolodbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9126 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Apply CAP ACK/NAK stuff from nenolod, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9124 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Merge in patch by nenolod for CAP CLEARbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9123 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Implement CAP LISTbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9122 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Support CAP LSbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9121 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-18Add m_cap.* stuff, unfinished. Thanks for the initial advice nenolod :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9120 e03df62e-2008-0410-955e-edbf42e46eb7