aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_deaf.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'insp3' into master.Gravatar Sadie Powell2022-04-291-2/+2
|\
| * Update copyright headers.Gravatar InspIRCd Robot2022-04-281-2/+2
| |
| * Update module descriptions.Gravatar Sadie Powell2022-04-281-1/+1
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2022-03-271-1/+1
|\|
| * m_deaf: Correct default return in HandleUser().Gravatar Matt Schatz2022-03-211-1/+1
| |
| * Fix various spelling issues (#1883).Gravatar Josh Soref2021-06-211-1/+1
| | | | | | | | Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* | Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-4/+4
| |
* | Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-1/+1
| |
* | Convert simple modes to use Simple{Channel,User}Mode.Gravatar Sadie Powell2021-06-011-16/+20
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-141-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2021-05-141-1/+1
| |
* | Convert various mode methods to take Mode::Change.Gravatar Sadie Powell2021-03-301-8/+8
| | | | | | | | | | | | | | | | - AccessCheck - AfterMode - BeforeMode - OnModeChange - OnRawMode
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-301-38/+71
|\|
| * Add support for blocking tag messages with the deaf mode.Gravatar Sadie Powell2021-03-301-37/+74
| |
* | Replace all internal references to uline with services.Gravatar Sadie Powell2021-01-301-2/+2
| |
* | Rename <deaf:privdeafuline> to <deaf:privdeafservice>.Gravatar Sadie Powell2021-01-301-6/+6
| |
* | Rename <deaf:bypasscharsuline> to <deaf:servicebypasschars>.Gravatar Sadie Powell2021-01-301-8/+8
| |
* | Convert ConfigTag from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-10-311-1/+1
| |
* | 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/+3
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+7
| |
* | Remove code relating to v3 API changes and v2 module compatibility.Gravatar Sadie Powell2019-07-181-2/+0
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-36/+44
|\|
| * Replace large if/else blocks for target.type with switches (#1668).Gravatar linuxdaemon2019-06-241-36/+44
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-36/+73
|\|
| * Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-3/+3
| |
| * Use a consistent naming scheme for operator privileges.Gravatar Peter Powell2019-04-041-1/+1
| | | | | | | | | | - users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf.
| * Merge extras/m_privdeaf into m_deaf and update documentation.Gravatar Matt Schatz2019-04-031-35/+72
| | | | | | | | | | | | | | | | | | | | - Merge the 2.0 extras module m_privdeaf (usermode +D for deaf to user messages and notices) as they have a similar purpose. - Improve the channel deaf logic where a known case of bypassing still looped the channel userlist building an empty exemption list. - Improve the comments within the code. - Update the documentation with the previously undocumented configuration to deaf and the new privdeaf configuration.
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-4/+4
|/
* Rework message handling.Gravatar Peter Powell2018-01-061-6/+6
| | | | | | | | | | | | | - 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 the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-1/+1
| | | | GCCs warnings for this are much better than Clangs.
* m_deaf Remove pointless member prefix checkGravatar Attila Molnar2016-08-301-3/+0
| | | | Inserting members who lack the required status into the except list makes no difference, they won't get the message either way
* m_deaf Fix inverted checkGravatar Attila Molnar2016-08-301-1/+1
|
* Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator insteadGravatar Attila Molnar2014-07-141-1/+1
|
* Rename UserMembList to Channel::MemberMap, switch all code to use itGravatar Attila Molnar2014-07-141-1/+1
|
* Change return type of Channel::GetUsers() to reference from pointer as it is ↵Gravatar Attila Molnar2014-07-141-2/+2
| | | | never NULL
* Move GetAllPrefixChars() from Channel to MembershipGravatar Attila Molnar2014-02-141-1/+1
|
* Remove PreText()-like functionsGravatar Attila Molnar2014-01-081-12/+6
| | | | Do processing in OnUserPreMessage()
* m_deaf Simplify logicGravatar Attila Molnar2014-01-061-19/+4
|
* Introduce Server classGravatar Attila Molnar2014-01-051-1/+1
| | | | | - Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
* Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+0
|
* Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-3/+1
| | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+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-18/+8
| | | | with ModeHandlers, part 1
* Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵Gravatar attilamolnar2013-05-201-15/+3
| | | | | | 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-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.
* Add method for writing server notices.Gravatar Peter Powell2013-05-141-1/+1
| | | | | | | | | This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.