aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_services_account.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Convert all core ExtensionItem code away from {un,}serialize.Gravatar Peter Powell2019-08-071-7/+7
|
* Replace large if/else blocks for target.type with switches (#1668).Gravatar linuxdaemon2019-06-241-20/+27
|
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-2/+2
|
* Remove CXX11_OVERRIDE from some non-overrides.Gravatar Peter Powell2019-04-181-1/+1
|
* Update trivially-modifiable modules to handle tag messages.Gravatar Peter Powell2019-04-161-2/+17
|
* Allow users on an accept list to bypass the +R user mode.Gravatar Peter Powell2018-12-091-15/+24
| | | | As implemented in ircd-seven and possibly other servers.
* Fix a bunch more conflicting/unnamed numerics.Gravatar Peter Powell2018-08-141-2/+2
|
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-0/+1
|
* Rework message handling.Gravatar Peter Powell2018-01-061-5/+5
| | | | | | | | | | | | | - Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message.
* Add names for a bunch more numerics.Gravatar Peter Powell2017-12-091-2/+8
|
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-3/+3
| | | | GCCs warnings for this are much better than Clangs.
* Only subclass Simple{Channel,User}ModeHandler when necessary.Gravatar Peter Powell2017-11-131-28/+8
|
* Add a helper function for calling the OnCheckExemption event.Gravatar Peter Powell2017-10-211-2/+1
|
* Add a constant for the 477 numeric (ERR_NEEDREGGEDNICK).Gravatar Peter Powell2017-10-111-3/+6
|
* Send RPL_LOGGEDOUT to clients when they log out of their account.Gravatar Peter Powell2017-10-111-5/+16
|
* Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-1/+5
|
* m_services_account Detect nickname case changes by using FindNickOnly()Gravatar Attila Molnar2016-08-221-1/+1
| | | | Gets rid of assign()
* Convert WhoisContext::SendLine() calls to pass the parameters of the numeric ↵Gravatar Attila Molnar2016-02-251-2/+2
| | | | as method parameters
* Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-7/+6
| | | | parameters
* m_services_account Handle FORMAT_INTERNAL when unserializing the accountnameGravatar Attila Molnar2015-11-261-0/+5
| | | | Skip sending the numeric and firing the OnAccountChange event
* Fix incomplete conversion to the new whois system noticed by @SaberUKGravatar Attila Molnar2015-06-021-3/+5
|
* Move OnWhois* events to core_whois, add Whois::ContextGravatar Attila Molnar2015-04-281-5/+5
| | | | Remove InspIRCd::SendWhoisLine()
* Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()Gravatar Attila Molnar2015-04-281-2/+2
|
* Convert the account login event to use the new cross-module event systemGravatar Attila Molnar2015-02-111-7/+6
|
* m_services_account Replace dynamic_cast with static_cast as we know the ↵Gravatar Attila Molnar2015-01-181-3/+1
| | | | object is a User
* Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
|
* m_services_account Fix uninitialized variable usage introduced by insp20 ↵Gravatar Attila Molnar2014-09-051-0/+1
| | | | merge e244cb2c63b1ac1d85bdbb4691f7b1bd940ae804
* m_services_account Call ModeHandler::RemoveMode() instead of duplicating codeGravatar Attila Molnar2014-09-041-6/+1
|
* m_services_account Remove now needless workaround added to 2.0 to display ↵Gravatar Attila Molnar2014-04-091-29/+2
| | | | the correct host when cgiirc users log in using SASL
* Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+0
|
* Merge insp20Gravatar Attila Molnar2014-01-211-6/+35
|\
| * m_services_account Add workaround for wrong host being displayed in numeric ↵Gravatar Attila Molnar2014-01-201-2/+31
| | | | | | | | when cgiirc users log in using SASL
| * Work around STB_GNU_UNIQUE symbols not allowing module unmapGravatar attilamolnar2013-09-151-5/+6
| |
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-9/+9
| | | | | | | | automatically
* | m_services_account Remove OnDecodeMetaData handlerGravatar attilamolnar2013-09-151-33/+34
| | | | | | | | Override StringExtItem::unserialize() instead
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-6/+0
| |
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-4/+0
| |
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵Gravatar attilamolnar2013-07-011-9/+9
| | | | | | | | with ModeHandlers, part 1
* | Introduce ModeProcessFlags, can be passed to ModeParser::Process() to ↵Gravatar attilamolnar2013-06-131-1/+1
| | | | | | | | | | | | | | | | indicate local only mode changes and mode merges Change ProtocolInterface::SendMode() to take source and destination parameters, and call it from the mode parser whenever the mode change is global This deprecates the ambiguous InspIRCd::SendMode() and InspIRCd::SendGlobalMode() interface (the latter sent mode changes originating from local users twice, etc.)
* | Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵Gravatar attilamolnar2013-05-201-7/+2
| | | | | | | | | | | | OnUserMessage and OnUserPreMessage All modules (except m_nonotice) that perform filtering on messages have common logic for handling PRIVMSGs and NOTICEs and most of them run the exact same code in both cases
* | Tidy up keywords on module methods.Gravatar Peter Powell2013-05-151-11/+11
| | | | | | | | | | - 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.
* | Merge insp20Gravatar attilamolnar2013-04-281-14/+2
|\|
| * Remove some uline checks that ran after an IS_LOCAL() checkGravatar attilamolnar2013-04-091-14/+2
| |
* | OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*Gravatar attilamolnar2013-04-131-4/+1
| |
* | 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-3/+3
| |
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-0/+1
| |
* | Change channel name parameter of Module::OnUserPreJoin() and ↵Gravatar attilamolnar2013-04-011-1/+1
|/ | | | Channel::JoinUser() to std::string from char*
* Register all commands, modes and extensions using AddService()Gravatar attilamolnar2012-12-021-6/+2
| | | | AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing