aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
Commit message (Expand)AuthorAgeFilesLines
* Convert irc::stringjoiner to be a method instead of a class.•••Add separator parameter Gravatar Peter Powell2014-02-061-4/+4
* Fix various cases of UUID exposure.•••- 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. Gravatar Peter Powell2014-02-061-4/+4
* m_cap Instead of using case insensitive compare convert the subcommand to upp...•••This way if we send back the subcommand it will be in uppercase even if the client sent it in lowercase Gravatar Attila Molnar2014-02-061-1/+2
* m_cap Convert capability names in CAP REQ to lowercase before processing them•••Requested in #686 Gravatar attilamolnar2013-11-211-0/+1
* Use WriteNumeric() everywhere we send numerics and include the user's nick au...Gravatar Adam2013-11-121-1/+1
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-3/+0
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
* Simplify stringjoiner: take 1 parameter, join from begin() to end() and use s...Gravatar attilamolnar2013-06-121-9/+4
* Tidy up keywords on module methods.•••- 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. Gravatar Peter Powell2013-05-151-3/+3
* Tidy up source files:•••- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues. Gravatar Peter Powell2013-04-121-1/+1
* Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-5/+0
* Register all commands, modes and extensions using AddService()•••AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing Gravatar attilamolnar2012-12-021-2/+2
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
* m_cap Fix crash when a user issued a CAP CLEAR request and the CapEvent had a...Gravatar attilamolnar2012-06-271-1/+3
* m_cap Use an enum to specify cap event type instead of a string, assign CapEv...Gravatar attilamolnar2012-06-271-21/+7
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* Change "CAP *" reply to "CAP $nick", which is the intended use of the parameter•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-071-5/+5
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Change module API to use LocalUser* where correct•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-1/+1
* Move static map of extensions into ServerInstance, add const-correctness•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11873 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-141-1/+1
* Update Event and Request APIs•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-9/+6
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-5/+5
* Clean up Command constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-5/+6
* Change Extensible to use strongly typed entries•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-13/+16
* ModResult conversion: Change return type of all module functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-3/+3
* Add Module* creator to Command and ModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-9/+7
* Change allocation of commands/modes•••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 Gravatar danieldg2009-09-021-5/+3
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Make this comply with the spec; that is - CAP may be requested after registra...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10333 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-281-4/+0
* Change module versions to use a string instead of fixed digits, and use props...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-1/+1
* Lots, lots more numerics.h conversion•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10014 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-141-1/+1
* fixed some indentation and spacing in modules•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar pippijn2008-06-111-2/+2
* Ignore CAP from clients that have already registered•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9877 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-081-0/+4
* Convert a whole bunch more•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9620 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2008-05-041-3/+3
* Finally change all the Version() objects•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9185 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-241-1/+1
* Wheeee for HUGE commits. Convert all numerics to WriteNumeric so that OnNumer...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9175 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-221-1/+1
* Nak vector thing•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9133 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-191-2/+2
* oh, DOH•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9127 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-181-2/+2
* Crash fixes from nenolod•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9126 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-181-2/+7
* Apply CAP ACK/NAK stuff from nenolod, thanks :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9124 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-181-9/+32
* Merge in patch by nenolod for CAP CLEAR•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9123 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-181-3/+22
* Implement CAP LIST•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9122 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-181-9/+16
* Support CAP LS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9121 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-181-0/+6
* Add m_cap.* stuff, unfinished. Thanks for the initial advice nenolod :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9120 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-03-181-0/+108