summaryrefslogtreecommitdiff
path: root/src/modules/m_noctcp.cpp
AgeCommit message (Collapse)Author
2021-03-05Update copyright headers.InspIRCd Robot
2020-11-20Update the module descriptions.Sadie Powell
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-10Update the module descriptions using mkversion.Sadie Powell
2020-04-04Add the Numerics::CannotSendTo class and switch stuff to use it.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-11-18Split the channel mode and extban replies.Matt Schatz
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.
2019-10-24m_noctcp: Fix noctcp user mode not applying to exempted channel ops.Robby
2019-09-16Fix the noctcp user mode not applying to channel CTCPs.Peter Powell
Closes #1704.
2019-06-24Replace large if/else blocks for target.type with switches (#1668).linuxdaemon
2019-04-28Some more text fixes and improvements (#1618).Robby
2019-03-14Add oper privs to allow overriding noctcp.Matt Schatz
2019-03-14Fix incorrect ModResult for noctcp user target.Matt Schatz
2018-09-18Merge m_noctcp_user into m_noctcp.Peter Powell
2018-08-26Implement proper CTCP parsing in MessageDetails.Peter Powell
2018-04-22Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.Peter Powell
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.
2018-01-06Rework message handling.Peter Powell
- 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.
2017-11-13Only subclass Simple{Channel,User}ModeHandler when necessary.Peter Powell
2017-10-21Add a helper function for calling the OnCheckExemption event.Peter Powell
2017-10-12Merge the latest changes from insp20 into master.Peter Powell
2017-06-16Fix exempting CTCP ACTIONs in m_blockcaps and m_noctcp.Peter Powell
Previously we assumed that CTCP ACTIONs matched "\1ACTION ". This is incorrect because "\1ACTION\1" and "\1ACTION" are valid CTCPs.
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-07-01Replace hardcoded mode letters passed to IsModeSet() and GetModeParameter() ↵attilamolnar
with ModeHandlers, part 1
2013-05-20Remove OnUserPreNotice and OnUserNotice hooks, add MessageType argument to ↵attilamolnar
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
2013-05-15Tidy up keywords on module methods.Peter Powell
- 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.
2013-04-11Convert ISUPPORT to use a map instead of a string.Peter Powell
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-12-02Attach to events and register services in init()attilamolnar
2012-11-24m_noctcp Make extban 'C' work as intendedattilamolnar
2012-07-17m_noctcp Fix /me not being allowed on +C channelsattilamolnar
Fixes #260 reported by @JDowny
2012-07-06Updated the version lines on several modules.Shawn Smith
2012-06-30m_noctcp Use SimpleChannelModeHandler, reorder checksattilamolnar
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-02-20Restore <options:exemptchanops> with long namesdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12502 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-15Remove VF_COMMON from mode-provider modules (no longer needed due to better ↵danieldg
CAPAB checking) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-17Remove dummy API_VERSION from Version constructordanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-12Make OnChannelRestrictionApply take a User* instead of a Membership* ↵danieldg
[jackmcbarn] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11858 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-12m_exemptchanops by jackmcbarn - channel mode +X to allow per-channel settingdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11855 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08Add names for all modes (part 1 of named channel mode list)danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05Run DelMode and DelModeWatcher in RemoveModuledanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26Remove InspIRCd* parameters and fieldsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22Describe module purpose in /MODULES outputdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7