aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_namesx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename the namesx module to multiprefix.Gravatar Sadie Powell2023-08-141-124/+0
| | | | | | Now the module only implements the IRCv3 capability this is a more accurate name. If users want the protoctl method they can install the protoctl module from contrib as before.
* Retain the "real" username properly like we do for hostnames.Gravatar Sadie Powell2023-06-291-1/+0
| | | | | | | | | | | | | | This introduces the concept of a real username. This value comes from either the initial USER message or from an ident lookup. Doing this allows us to use it for bans through vidents and cloaking web client users using their remote username. While changing this I also changed all of the uses of "ident" other than RFC 1413 lookups and some compatibility cases to refer to usernames as user(name) instead of ident. Our use of ident in these places was incorrect as that only refers to the RFC 1413 response and is not commonly used in the way we used it by any other IRC server implementations.
* Qualify auto correctly in all cases.Gravatar Sadie Powell2023-01-101-1/+1
|
* Use auto instead of type names where the type is obvious.Gravatar Sadie Powell2022-09-291-1/+1
|
* Fix the namesx module allocating memory before its needed.Gravatar Sadie Powell2022-07-311-3/+2
|
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-2/+2
|
* Drop support for the legacy PROTOCTL extension.Gravatar Sadie Powell2021-07-161-30/+1
| | | | | People who wish to keep this behavious should install the protoctl module from inspircd-contrib.
* Move channel logic from InspIRCd to the new ChannelManager class.Gravatar Sadie Powell2021-05-081-1/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-02-281-1/+48
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-02-261-1/+1
| |
| * Implement support for multi-prefix on WHOIS.Gravatar Sadie Powell2021-02-251-0/+47
| |
* | Pascalize Cap::set and rename Cap::get to IsEnabled.Gravatar Sadie Powell2020-07-201-3/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-111-1/+1
|\|
| * Update the module descriptions using mkversion.Gravatar Sadie Powell2020-04-101-1/+1
| |
* | Improve storage of module description, flags, and link data.Gravatar Sadie Powell2020-04-111-6/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-02-041-2/+2
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-311-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-5/+8
|\|
| * Use irc::equals instead of strcasecmp where appropriate.Gravatar Sadie Powell2020-01-171-1/+1
| |
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-4/+7
| |
* | Move ISupport logic out of the core and into core_info.Gravatar Sadie Powell2020-01-051-2/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-1/+4
|\|
| * 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.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-3/+6
|\|
| * 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-2/+5
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-16/+3
|\|
| * Rename GetFlagIndex -> GetFieldIndexGravatar linuxdaemon2019-03-121-1/+1
| |
| * Add Who::Request::GetFlagIndex to get field indexGravatar linuxdaemon2019-03-121-16/+3
| | | | | | | | Replaces the dirty logic in m_hideoper and m_namesx
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-5/+5
|/
* Fix the OnSendWhoLine event being completely broken with WHOX.Gravatar Peter Powell2018-11-151-5/+29
|
* 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.
* Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric ↵Gravatar Attila Molnar2016-02-261-17/+6
| | | | objects to the OnSendWhoLine hook
* Return ModResult from the OnSendWhoLine hookGravatar Attila Molnar2016-02-261-5/+6
|
* 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-8/+4
| | | | Return MOD_RES_DENY to exclude the user from the NAMES list
* Move GetAllPrefixChars() from Channel to MembershipGravatar Attila Molnar2014-02-141-2/+2
|
* Return a Membership* from get_first_visible_channel() in cmd_who and pass ↵Gravatar Attila Molnar2014-02-141-3/+3
| | | | that to modules
* Add Channel* parameter to OnSendWhoLineGravatar Attila Molnar2014-01-251-13/+3
|
* 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-7/+7
| | | | | - 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-6/+1
|
* 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_check, m_namesx, m_timedbans Minor cleanupGravatar attilamolnar2012-11-241-1/+1
|