aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_noctcp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename Simple{Channel,User}ModeHandler to match other mode handlers.Gravatar Sadie Powell2021-06-011-2/+2
|
* Use string_view in IsCTCP.Gravatar Sadie Powell2021-04-081-1/+1
|
* Switch simple iterator loops to use range-based for loops.Gravatar Sadie Powell2021-04-071-3/+1
|
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-03-051-2/+2
|\
| * Update copyright headers.Gravatar InspIRCd Robot2021-03-051-2/+2
| |
* | Merge tag 'v3.8.1' into master.Gravatar Sadie Powell2020-11-201-1/+1
|\|
| * Update the module descriptions.Gravatar Sadie Powell2020-11-201-1/+1
| |
* | Add first class support for extbans.Gravatar Sadie Powell2020-05-071-11/+5
| | | | | | | | | | This replaces the previous support which was pretty much a giant hack and was not synchronised between servers.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-05-051-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-04-241-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/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-04-091-5/+9
|\|
| * Add the Numerics::CannotSendTo class and switch stuff to use it.Gravatar Sadie Powell2020-04-041-5/+9
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+9
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+9
| |
* | Move ISupport logic out of the core and into core_info.Gravatar Sadie Powell2020-01-051-3/+8
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-12-081-2/+4
|\|
| * Split the channel mode and extban replies.Gravatar Matt Schatz2019-11-181-2/+4
| | | | | | | | | | | | Tell the user when they are extbanned rather than incorrectly say that the channel mode is set. Refactored the logic in m_nonotice to match that of the others.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-11-131-8/+8
|\|
| * m_noctcp: Fix noctcp user mode not applying to exempted channel ops.Gravatar Robby2019-10-241-8/+8
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-09-231-0/+8
|\|
| * Fix the noctcp user mode not applying to channel CTCPs.Gravatar Peter Powell2019-09-161-0/+8
| | | | | | | | Closes #1704.
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-07-161-21/+28
|\|
| * Replace large if/else blocks for target.type with switches (#1668).Gravatar linuxdaemon2019-06-241-21/+28
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-2/+2
|\|
| * Some more text fixes and improvements (#1618).Gravatar Robby2019-04-281-2/+2
| |
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-03-301-1/+7
|\|
| * Add oper privs to allow overriding noctcp.Gravatar Matt Schatz2019-03-141-0/+6
| |
| * Fix incorrect ModResult for noctcp user target.Gravatar Matt Schatz2019-03-141-1/+1
| |
* | Remove all 2.0 config compatibility code.Gravatar Sadie Powell2019-01-251-13/+2
| |
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-3/+3
|/
* Merge m_noctcp_user into m_noctcp.Gravatar Peter Powell2018-09-181-6/+31
|
* Implement proper CTCP parsing in MessageDetails.Gravatar Peter Powell2018-08-261-2/+3
|
* Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.Gravatar Peter Powell2018-04-221-1/+1
| | | | | | There is no reason for these responses to have their own numerics when other modules do not. The only thing this does is make life harder for client developers.
* Rework message handling.Gravatar Peter Powell2018-01-061-4/+4
| | | | | | | | | | | | | - 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.
* Only subclass Simple{Channel,User}ModeHandler when necessary.Gravatar Peter Powell2017-11-131-8/+2
|
* Add a helper function for calling the OnCheckExemption event.Gravatar Peter Powell2017-10-211-2/+1
|
* Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-1/+1
|\
| * Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.Gravatar Peter Powell2017-06-161-1/+1
| | | | | | | | | | Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.
* | Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-2/+6
| |
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | | | | | parameters
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-1/+1
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-5/+0
| |
* | 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-1/+1
| | | | | | | | with ModeHandlers, part 1
* | 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-5/+5
| | | | | | | | | | - 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.