aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_uhnames.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-311-2/+2
|
* Use irc::equals instead of strcasecmp where appropriate.Gravatar Sadie Powell2020-01-171-1/+1
|
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-3/+7
|
* Only show UHNAMES and NAMESX in 005 if the cap module is loaded.Gravatar Peter Powell2019-06-261-1/+4
| | | | | | The legacy method of enabling these extensions is just a wrapper around the capability. If the cap module is not loaded it can not be enabled so we should not advertise it.
* Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-1/+1
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
|
* Remove the OnNamesListItem event out of the core.Gravatar Peter Powell2019-04-191-3/+9
|
* Remove the original line parameter of On{Pre,Post}Command.Gravatar Peter Powell2018-08-101-1/+1
| | | | | | | | | In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
* Use CommandBase::Params instead of std::vector<std::string>.Gravatar Peter Powell2018-07-261-1/+1
| | | | | This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
* Add rewritten m_cap moduleGravatar Attila Molnar2015-12-051-4/+4
| | | | | - Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps
* Convert the CAP event to use the new cross-module event systemGravatar Attila Molnar2015-02-111-5/+0
|
* Change the OnNamesListItem() hook to return ModResultGravatar Attila Molnar2014-04-201-7/+4
| | | | Return MOD_RES_DENY to exclude the user from the NAMES list
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-6/+0
|
* Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
|
* Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-6/+6
| | | | | - 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.
* Tidy up source files:Gravatar Peter Powell2013-04-121-1/+1
| | | | | | - Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.
* Convert ISUPPORT to use a map instead of a string.Gravatar Peter Powell2013-04-111-2/+2
|
* Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-4/+0
|
* Dynamically determine the size of the eventlist[] passed to Attach()Gravatar attilamolnar2012-12-021-1/+1
| | | | m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-0/+4
|
* m_namesx, m_uhnames Don't convert the command name to irc::string in ↵Gravatar attilamolnar2012-07-271-2/+1
| | | | | | OnPreCommand() The command is converted into an uppercase string in CommandParser::ProcessCommand()
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
|
* PreCommand/PostCommand are local-only hooksGravatar danieldg2010-01-181-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Update Event and Request APIsGravatar danieldg2009-10-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
* Module API changes to use Membership* where sensibleGravatar danieldg2009-09-131-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11699 e03df62e-2008-0410-955e-edbf42e46eb7
* Change Extensible to use strongly typed entriesGravatar danieldg2009-09-131-19/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* MetaData reworkGravatar danieldg2009-09-021-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | 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
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Change module versions to use a string instead of fixed digits, and use ↵Gravatar w00t2008-08-251-1/+1
| | | | | | 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
* fixed some indentation and spacing in modulesGravatar pippijn2008-06-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow changing of command string and parameter vector within OnPreCommand, ↵Gravatar brain2008-06-061-1/+1
| | | | | | | | | allowing for m_abbreviation and other fancy stuff. Add basic skeleton module for it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9840 e03df62e-2008-0410-955e-edbf42e46eb7
* Conversion complete, distclean compiles cleanly again. (If everything works ↵Gravatar peavey2008-05-051-2/+2
| | | | | | is another story) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9636 e03df62e-2008-0410-955e-edbf42e46eb7
* Eventlist one item too short, makes this module not publish its 005 featureGravatar brain2008-04-191-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9547 e03df62e-2008-0410-955e-edbf42e46eb7
* And more of themGravatar brain2008-03-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9186 e03df62e-2008-0410-955e-edbf42e46eb7
* Add support for CAP in uhnames, it has the token 'userhost-in-names'. ↵Gravatar brain2008-03-211-4/+8
| | | | | | | | | Comments welcome. Add a function to m_cap.h, "GenericCapHandler" which allows a one-line definition of a CAP token that just adds a metadata tag, as used by NAMESX and UHNAMES. Saves code duplication. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9145 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert to new apiGravatar brain2008-03-211-20/+10
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9144 e03df62e-2008-0410-955e-edbf42e46eb7
* Wheee, mass commit! this adds const stafety, throwing a compile error if ↵Gravatar brain2008-02-201-1/+1
| | | | | | | | | anyone does: "parameters[n] = blahvar;" in a command handler etc. where they REALLY SHOULD NOT fuck with the value and should copy the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8971 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove Implements() method from every module. booya.Gravatar brain2007-11-041-4/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8536 e03df62e-2008-0410-955e-edbf42e46eb7
* Convert all to new Attach() system. The Implements() method needs removing ↵Gravatar brain2007-11-041-0/+2
| | | | | | | | | from all modules as it is dead weight. WARNING: there are segfaults here! HERE BE DRAGONS, i am not finished! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8510 e03df62e-2008-0410-955e-edbf42e46eb7
* More craqGravatar brain2007-11-041-2/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8507 e03df62e-2008-0410-955e-edbf42e46eb7
* In the grand tradition of huge fucking commits:Gravatar w00t2007-10-151-3/+3
| | | | | | | | - chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
* Move everything module-related out of InspIRCd and into ModuleManager, there ↵Gravatar om2007-08-281-2/+1
| | | | | | | | is a ModuleManager instantiated as InspIRCd::Modules. Several of the function names have changed slightly as well. e.g. Instance->FindModule(m_foobar.so); is now Instance->Modules->Find(m_foobar.so); All modules in the core distribution should also be updated in line with these changes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7985 e03df62e-2008-0410-955e-edbf42e46eb7