summaryrefslogtreecommitdiff
path: root/include/modules.h
AgeCommit message (Collapse)Author
2020-02-02Make loading modules considerably more robust and user friendly.Sadie Powell
2020-01-31Update copyright headers.InspIRCd Robot
2020-01-31Bump the ABI version.Sadie Powell
2020-01-22Add an event for when a command is blocked before execution.Sadie Powell
2020-01-11Update copyright headers.InspIRCd Robot
2019-12-03Bump the InspIRCd ABI version.Peter Powell
2019-10-17Add an event which is fired when the server shuts down.Peter Powell
2019-08-23Release v3.3.0.Peter Powell
2019-07-21Allow modules to prevent a failed connection from being closed.Peter Powell
2019-06-24Add OnUserPreQuit event to allow modules to change quit messages (#1629).iwalkalone
2019-06-18Make the data provider list case insensitive.Peter Powell
2019-06-06Only call events on modules which aren't dying.Peter Powell
2019-05-17Release v3.1.0.Peter Powell
2019-04-19Bump the API revision for the previous commits.Peter Powell
2019-04-19Remove the OnNamesListItem event out of the core.Peter Powell
2019-04-15Bump the API revision for the previous commit.Peter Powell
2019-04-04Fix various typos.Peter Powell
2019-04-04Bump the API revision for the previous commit.Peter Powell
2019-04-04Document OnUserInit properly and add OnUserPostInit.Peter Powell
2019-02-07Document OnUserWrite.Peter Powell
2019-02-06Release v3.0.0 release candidate 2.Peter Powell
2019-02-05Delete the old broken test suite.Peter Powell
This doesn't work properly and is disabled in both debug & release builds. It will be resurrected with a proper unit testing framework in the future.
2019-01-07Release v3.0.0 release candidate 1.Peter Powell
2018-11-15Fix the OnSendWhoLine event being completely broken with WHOX.Peter Powell
2018-10-21Fix warnings from Doxygen.Peter Powell
2018-09-23Switch all core modules still using COMMAND_INIT to MODULE_INIT.Peter Powell
2018-09-11Amend OnPostCommand to specify whether the command is loopcalled.Peter Powell
This restores previous behaviour which was lost when the original line parameter was removed.
2018-08-14Rename OnChangeLocalUserHost to OnPreChangeHost for consistency.Peter Powell
2018-08-14Remove the OnInfo event.Peter Powell
This is not used by anything and On{Post,Pre}Command hooks can be used if people really want to add stuff to INFO.
2018-08-13Implement IRCv3 message tag support.Peter Powell
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-12Convert AWAY to use cross-module events and clean up slightly.Peter Powell
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.
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
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.
2018-07-31Remove support for static modules.Peter Powell
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.
2018-07-30Replace most usages of "name" with "real" or "real name".Peter Powell
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-07-24Rename IntModuleList to Module::List.Peter Powell
2018-04-22Merge tag 'v2.0.26' into master.Peter Powell
2018-04-16Call OnUserMessageBlocked when a PRIVMSG or a NOTICE is blocked.Peter Powell
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.
2018-04-09Remove swhois messages set in the oper block on deoper.Peter Powell
Closes #1240.
2018-04-08Move OnStats from the core to a cross-module event.Peter Powell
Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later.
2018-02-17Fix building on Windows (mostly).Peter Powell
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-12-03Move OnSync{Channel,Network,User} to ServerEventListener.Peter Powell
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-11-16Add events which are fired when a service is added or deleted.Attila Molnar
2017-10-21Tweak the module flags in MODULES slightly.Peter Powell
Using unique letters for each flag makes it easier to read when using fonts which have similar glyphs for upper and lower case characters.
2017-10-18Clean up OnCleanup.Peter Powell
- 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.
2017-08-27Update a bunch of references to the old command modules.Peter Powell
2017-08-26Fix a bunch of Doxygen warnings.Peter Powell