aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Change the OnNamesListItem() hook to return ModResultGravatar Attila Molnar2014-04-201-3/+2
| | | | | | | | Return MOD_RES_DENY to exclude the user from the NAMES list
* | Replace mode letter parameter of OnRawMode() with a ModeHandler*, remove pcntGravatar Attila Molnar2014-02-211-3/+2
| |
* | Return a Membership* from get_first_visible_channel() in cmd_who and pass ↵Gravatar Attila Molnar2014-02-141-2/+2
| | | | | | | | that to modules
* | Only compile the testsuite if INSPIRCD_ENABLE_TESTSUITE is definedGravatar Attila Molnar2014-02-071-1/+3
| |
* | Add Channel* parameter to OnSendWhoLineGravatar Attila Molnar2014-01-251-1/+2
| |
* | Convert UserChanList to an intrusively linked listGravatar Attila Molnar2014-01-241-1/+1
| |
* | Split IOHook into IOHook and IOHookProviderGravatar Attila Molnar2014-01-221-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
* | Move server description field from TreeServer into Server; remove ↵Gravatar Attila Molnar2014-01-051-11/+1
| | | | | | | | OnGetServerDescription hook
* | Clean up CoreExceptionGravatar Attila Molnar2013-12-181-2/+2
| | | | | | | | | | - Remove default constructor - Replace virtual functions returning C strings with functions returning const std::string refs
* | Move stuff around a bit:Gravatar Peter Powell2013-12-151-38/+0
| | | | | | | | | | | | | | | | | | | | - Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
* | Pass an interface to the OnSync hooksGravatar attilamolnar2013-09-131-42/+16
| | | | | | | | Remove Module::ProtoSendMetaData()
* | Send ListModeBase modes implicitly on channel syncGravatar attilamolnar2013-09-121-13/+0
| | | | | | | | Remove Module::ProtoSendMode() and ListModeBase::DoSyncChannel()