aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-1/+6
|\
| * Remove swhois messages set in the oper block on deoper.Gravatar Peter Powell2018-04-091-2/+7
| | | | | | | | Closes #1240.
| * Don't exit on rehash if the pid file cannot be writtenGravatar Attila Molnar2016-06-171-1/+1
| |
* | Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked.Gravatar Peter Powell2018-04-161-1/+10
| | | | | | | | | | | | This is necessary to allow m_ircv3_echomessage to pretend that a message was echoed successfully. This is useful as it doesn't let spammers know that their message was blocked.
* | Move OnStats from the core to a cross-module event.Gravatar Peter Powell2018-04-081-8/+1
| | | | | | | | | | Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
* | Fix building on Windows (mostly).Gravatar Peter Powell2018-02-171-22/+0
| |
* | Rework message handling.Gravatar Peter Powell2018-01-061-59/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | Move OnSync{Channel,Network,User} to ServerEventListener.Gravatar Peter Powell2017-12-031-33/+4
| |
* | 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.
* | Add events which are fired when a service is added or deleted.Gravatar Attila Molnar2017-11-161-0/+11
| |
* | Tweak the module flags in MODULES slightly.Gravatar Peter Powell2017-10-211-8/+17
| | | | | | | | | | | | Using unique letters for each flag makes it easier to read when using fonts which have similar glyphs for upper and lower case characters.
* | Clean up OnCleanup.Gravatar Peter Powell2017-10-181-9/+8
| | | | | | | | | | | | | | | | | | - Switch to using ExtensionItem::ExtensibleType for the type instead of TargetTypeFlags. - Pass the extensible to OnCleanup as an Extensible pointer instead of a void pointer. - Call OnCleanup for memberships as well as channels and users. - Rewrite event documentation to remove outdated references.
* | Update a bunch of references to the old command modules.Gravatar Peter Powell2017-08-271-1/+1
| |
* | Fix a bunch of Doxygen warnings.Gravatar Peter Powell2017-08-261-1/+1
| |
* | Add CXX11_OVERRIDE to overridden members that lack it.Gravatar Peter Powell2017-07-121-1/+1
| | | | | | | | | | This fixes a ton of warnings when building on compilers that default to C++11 or newer.
* | Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-2/+2
| |
* | Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and ↵Gravatar Attila Molnar2016-08-291-0/+6
| | | | | | | | extract into a method
* | Remove unused EventHandlerIter typedefGravatar Attila Molnar2016-08-291-4/+0
| |
* | Remove virtual destructor of class VersionGravatar Attila Molnar2016-08-111-2/+0
| | | | | | | | No classes inherit from it and it is only used as the return value from Module::GetVersion() which returns it by value
* | Rename PURE_STATIC to INSPIRCD_STATIC.Gravatar Peter Powell2016-04-041-1/+1
| |
* | Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric ↵Gravatar Attila Molnar2016-02-261-2/+2
| | | | | | | | objects to the OnSendWhoLine hook
* | Return ModResult from the OnSendWhoLine hookGravatar Attila Molnar2016-02-261-2/+3
| |
* | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-6/+2
| |
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-1/+1
| | | | | | | | parameters
* | Add minimum channel rank and exception list parameters to the OnUserInvite hookGravatar Attila Molnar2015-12-061-1/+3
| |
* | Merge branch 'master+serviceinit'Gravatar Attila Molnar2015-12-021-0/+11
|\ \
| * | Extract code that manipulates the ModuleManager::DataProviders map into methodsGravatar Attila Molnar2015-11-231-0/+11
| | |
* | | Handle module reloading in core_reloadmodule entirelyGravatar Attila Molnar2015-11-261-9/+7
|/ /
* | Expand module names in ServerConfig::ApplyModules()Gravatar Attila Molnar2015-06-041-7/+7
| |
* | Allow modules to be called as "foo" instead of "m_foo.so"Gravatar Attila Molnar2015-05-201-0/+7
| |
* | Remove support for non-unloadable (VF_STATIC) modulesGravatar Attila Molnar2015-05-121-1/+0
| | | | | | | | No module we ship uses this flag and new modules should not use it either to make hotfixing possible
* | Move OnWhois* events to core_whois, add Whois::ContextGravatar Attila Molnar2015-04-281-23/+2
| | | | | | | | Remove InspIRCd::SendWhoisLine()
* | Merge insp20Gravatar Attila Molnar2015-04-201-1/+2
|\|
| * Fix modules not being versioned on Windows.Gravatar Peter Powell2015-01-171-1/+2
| |
| * Avoid calling methods on NULL pointers wherever possible.Gravatar Peter Powell2014-10-131-1/+1
| | | | | | | | | | | | The trick we use to allow this is undefined behaviour and is not liked by LLVM. We should stop using it but it has the potential to break to many things for a minor release.
| * Fix undefined symbol error on module load if compiled with Clang 3.4Gravatar Attila Molnar2014-04-191-1/+1
| | | | | | | | Fixes issue #803 reported by @SaberUK
| * Bump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856Gravatar Attila Molnar2014-01-211-1/+1
| |
| * Remove unused variables, avoid copies where possible, check empty() instead ↵Gravatar attilamolnar2013-05-161-1/+1
| | | | | | | | | | | | of size() == 0 Most of these were detected by cppcheck
* | Eliminate constant return value of the all events version of ↵Gravatar Attila Molnar2015-02-151-1/+1
| | | | | | | | ModuleManager::SetPriority()
* | Convert mods calling the old compat wrapper of ModuleManager::SetPriority() ↵Gravatar Attila Molnar2015-02-151-6/+0
| | | | | | | | to use the current method, remove wrapper
* | Remove I_BEGIN from enum ImplementationGravatar Attila Molnar2015-02-151-1/+0
| |
* | Remove class Event and the OnEvent hookGravatar Attila Molnar2015-02-111-35/+1
| |
* | Remove the unused OnGlobalOper hookGravatar Attila Molnar2015-01-101-9/+1
| |
* | Migrate code from ModeParser into cmd_mode (core_user)Gravatar Attila Molnar2014-09-041-1/+1
| | | | | | | | | | | | - Process() that takes a std::vector<std::string> - DisplayCurrentModes() - DisplayListModes()
* | Pass Modes::ChangeList references to the OnPreMode hook, make it modifiableGravatar Attila Molnar2014-09-041-2/+2
| | | | | | | | This gets rid of the duplicated mode parsing logic in m_namedmodes
* | Pass the modes to the OnMode hook as a Modes::ChangeList, pass ↵Gravatar Attila Molnar2014-09-031-5/+6
| | | | | | | | ModeProcessFlags too
* | Change allocation of InspIRCd::Modules to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-1/+1
| | | | | | | | containing it using fakederef
* | Change the type of the user parameter in the OnUserPreNick() hook from User ↵Gravatar Attila Molnar2014-06-201-5/+2
| | | | | | | | | | | | | | | | to LocalUser No remote users were passed to this hook before. Remove needless IS_LOCAL() checks.
* | Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-1/+1
| |
* | Document parameters and return value for the OnNamesListItem() hookGravatar Attila Molnar2014-04-201-0/+7
| |