aboutsummaryrefslogtreecommitdiff
path: root/include/modules.h
Commit message (Expand)AuthorAgeFilesLines
* Switch all core modules still using COMMAND_INIT to MODULE_INIT.Gravatar Peter Powell2018-09-231-2/+0
* Amend OnPostCommand to specify whether the command is loopcalled.•••This restores previous behaviour which was lost when the original line parameter was removed. Gravatar Peter Powell2018-09-111-1/+2
* Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Gravatar Peter Powell2018-08-141-2/+2
* Remove the OnInfo event.•••This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO. Gravatar Peter Powell2018-08-141-13/+1
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-3/+4
* Convert AWAY to use cross-module events and clean up slightly.•••OnSetAway has been replaced with four events. OnUserPreAway and OnUserPreBack can be used to deny an away state change and/or change the away message of a local user. OnUserAway and OnUserBack allow modules to be notified that a user's away state has changed. Gravatar Peter Powell2018-08-121-11/+1
* Remove the original line parameter of On{Pre,Post}Command.•••In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do. Gravatar Peter Powell2018-08-101-4/+2
* Remove support for static modules.•••This has been frequently broken in the past and as far as I know is used by literally nobody. Also, even if all modules are compiled into the core any libraries linked against are and have always been linked dynamically making this unusable on platforms without dynamic libraries. Gravatar Peter Powell2018-07-311-23/+0
* Replace most usages of "name" with "real" or "real name".Gravatar Peter Powell2018-07-301-2/+2
* Replace most usages of "GECOS" with "real" or "real name".Gravatar Peter Powell2018-07-301-11/+11
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-2/+2
* Rename IntModuleList to Module::List.Gravatar Peter Powell2018-07-241-9/+9
* Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-1/+6
|\
| * Remove swhois messages set in the oper block on deoper.•••Closes #1240. Gravatar Peter Powell2018-04-091-2/+7
| * 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.•••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. Gravatar Peter Powell2018-04-161-1/+10
* | Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-8/+1
* | Fix building on Windows (mostly).Gravatar Peter Powell2018-02-171-22/+0
* | Rework message handling.•••- 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. Gravatar Peter Powell2018-01-061-59/+25
* | Move OnSync{Channel,Network,User} to ServerEventListener.Gravatar Peter Powell2017-12-031-33/+4
* | Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-1/+1
* | 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.•••Using unique letters for each flag makes it easier to read when using fonts which have similar glyphs for upper and lower case characters. Gravatar Peter Powell2017-10-211-8/+17
* | Clean up OnCleanup.•••- 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. Gravatar Peter Powell2017-10-181-9/+8
* | 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.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-1/+1
* | Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-2/+2
* | Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and extr...Gravatar Attila Molnar2016-08-291-0/+6
* | Remove unused EventHandlerIter typedefGravatar Attila Molnar2016-08-291-4/+0
* | Remove virtual destructor of class Version•••No classes inherit from it and it is only used as the return value from Module::GetVersion() which returns it by value Gravatar Attila Molnar2016-08-111-2/+0
* | Rename PURE_STATIC to INSPIRCD_STATIC.Gravatar Peter Powell2016-04-041-1/+1
* | Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric obje...Gravatar Attila Molnar2016-02-261-2/+2
* | 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
* | 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) modules•••No module we ship uses this flag and new modules should not use it either to make hotfixing possible Gravatar Attila Molnar2015-05-121-1/+0
* | Move OnWhois* events to core_whois, add Whois::Context•••Remove InspIRCd::SendWhoisLine() Gravatar Attila Molnar2015-04-281-23/+2
* | 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.•••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. Gravatar Peter Powell2014-10-131-1/+1
| * Fix undefined symbol error on module load if compiled with Clang 3.4•••Fixes issue #803 reported by @SaberUK Gravatar Attila Molnar2014-04-191-1/+1
| * Bump API version because of 3f4d54eb031f1cd6b016dfe1f768ed86303e3856Gravatar Attila Molnar2014-01-211-1/+1
| * Remove unused variables, avoid copies where possible, check empty() instead o...•••Most of these were detected by cppcheck Gravatar attilamolnar2013-05-161-1/+1