| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rework message handling. | 2018-01-06 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | - 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. | 2017-12-03 | 1 | -3/+0 | |
| | | |||||
| * | Convert the remaining things away from the caller/handler API. | 2017-11-25 | 1 | -1/+1 | |
| | | |||||
| * | Add the override keyword in places that it is missing. | 2017-11-21 | 1 | -1/+1 | |
| | | | | | GCCs warnings for this are much better than Clangs. | ||||
| * | Add events which are fired when a service is added or deleted. | 2017-11-16 | 1 | -1/+7 | |
| | | |||||
| * | Clean up OnCleanup. | 2017-10-18 | 1 | -3/+6 | |
| | | | | | | | | | | - 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. | ||||
| * | Ignore <module> tags for modules that are already loaded. | 2017-10-18 | 1 | -3/+7 | |
| | | | | | | This allows us to do user friendly things like loading the alias module in the example alias files. | ||||
| * | Unregister modes before unhooking extensions when unloading a module | 2016-08-29 | 1 | -3/+4 | |
| | | | | | Listmodes store their list in an extension that must be present when they are unset to show the modes being unset | ||||
| * | Deduplicate mode unregistering code in ModuleManager::DoSafeUnload() and ↵ | 2016-08-29 | 1 | -17/+14 | |
| | | | | | extract into a method | ||||
| * | Send WHO reply numerics with User::WriteNumeric(), pass Numeric::Numeric ↵ | 2016-02-26 | 1 | -1/+1 | |
| | | | | | objects to the OnSendWhoLine hook | ||||
| * | Return ModResult from the OnSendWhoLine hook | 2016-02-26 | 1 | -1/+1 | |
| | | |||||
| * | Introduce Stats::Context, pass it to the OnStats hook and switch all code to it | 2016-02-25 | 1 | -1/+1 | |
| | | |||||
| * | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵ | 2016-02-25 | 1 | -1/+1 | |
| | | | | | parameters | ||||
| * | Add minimum channel rank and exception list parameters to the OnUserInvite hook | 2015-12-06 | 1 | -1/+1 | |
| | | |||||
| * | Merge branch 'master+serviceinit' | 2015-12-02 | 1 | -24/+21 | |
| |\ | |||||
| | * | Implement ExtensionItem::RegisterService() | 2015-11-23 | 1 | -4/+0 | |
| | | | |||||
| | * | Implement ModeHandler::RegisterService() | 2015-11-23 | 1 | -7/+0 | |
| | | | |||||
| | * | Implement Command::RegisterService() | 2015-11-23 | 1 | -4/+0 | |
| | | | |||||
| | * | Add ServiceProvider::RegisterService(), call it from ModuleManager::AddService() | 2015-11-23 | 1 | -1/+1 | |
| | | | |||||
| | * | Extract code that manipulates the ModuleManager::DataProviders map into methods | 2015-11-23 | 1 | -9/+21 | |
| | | | |||||
| * | | Handle module reloading in core_reloadmodule entirely | 2015-11-26 | 1 | -28/+0 | |
| |/ | |||||
| * | Fix some oversights | 2015-05-22 | 1 | -1/+1 | |
| | | |||||
| * | Allow modules to be called as "foo" instead of "m_foo.so" | 2015-05-20 | 1 | -1/+11 | |
| | | |||||
| * | Remove support for non-unloadable (VF_STATIC) modules | 2015-05-12 | 1 | -6/+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::Context | 2015-04-28 | 1 | -2/+0 | |
| | | | | | Remove InspIRCd::SendWhoisLine() | ||||
| * | Eliminate constant return value of the all events version of ↵ | 2015-02-15 | 1 | -3/+1 | |
| | | | | | ModuleManager::SetPriority() | ||||
| * | Remove I_BEGIN from enum Implementation | 2015-02-15 | 1 | -3/+3 | |
| | | |||||
| * | Remove class Event and the OnEvent hook | 2015-02-11 | 1 | -8/+0 | |
| | | |||||
| * | Allow dynrefs to have an OnCapture() hook | 2015-02-11 | 1 | -2/+10 | |
| | | |||||
| * | Ensure all dynrefs with the same target resolve to the same object when one ↵ | 2015-02-11 | 1 | -2/+4 | |
| | | | | | name points to multiple objects | ||||
| * | Remove the unused OnGlobalOper hook | 2015-01-10 | 1 | -1/+0 | |
| | | |||||
| * | Add stdalgo::isin() and use it to simplify code | 2014-11-01 | 1 | -1/+1 | |
| | | |||||
| * | Add stdalgo::erase() and use it to simplify code | 2014-11-01 | 1 | -13/+2 | |
| | | |||||
| * | Pass Modes::ChangeList references to the OnPreMode hook, make it modifiable | 2014-09-04 | 1 | -1/+1 | |
| | | | | | This gets rid of the duplicated mode parsing logic in m_namedmodes | ||||
| * | Pass the modes to the OnMode hook as a Modes::ChangeList, pass ↵ | 2014-09-03 | 1 | -1/+1 | |
| | | | | | ModeProcessFlags too | ||||
| * | Move the intrusive list containers into the insp namespace | 2014-08-30 | 1 | -3/+3 | |
| | | |||||
| * | Merge insp20 | 2014-07-25 | 1 | -1/+1 | |
| |\ | |||||
| * | | Remove typedef UserMembCIter, use Channel::MemberMap::const_iterator instead | 2014-07-14 | 1 | -1/+1 | |
| | | | |||||
| * | | Rename UserMembList to Channel::MemberMap, switch all code to use it | 2014-07-14 | 1 | -1/+1 | |
| | | | |||||
| * | | Change return type of Channel::GetUsers() to reference from pointer as it is ↵ | 2014-07-14 | 1 | -2/+2 | |
| | | | | | | | | | never NULL | ||||
| * | | Remove now needless dynref_init_complete | 2014-06-24 | 1 | -3/+3 | |
| | | | | | | | | | ModuleManager is constructed when ServerInstance is non-NULL, test that instead | ||||
| * | | Change the type of the user parameter in the OnUserPreNick() hook from User ↵ | 2014-06-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | to LocalUser No remote users were passed to this hook before. Remove needless IS_LOCAL() checks. | ||||
| * | | Kill needless #includes in source files | 2014-06-14 | 1 | -4/+0 | |
| | | | |||||
| * | | Change allocation of InspIRCd::Parser to be physically part of the object ↵ | 2014-06-13 | 1 | -1/+1 | |
| | | | | | | | | | containing it | ||||
| * | | Switch to std::string::compare() from substr() in a couple of places | 2014-05-26 | 1 | -1/+1 | |
| | | | |||||
| * | | Change the OnNamesListItem() hook to return ModResult | 2014-04-20 | 1 | -1/+1 | |
| | | | | | | | | | Return MOD_RES_DENY to exclude the user from the NAMES list | ||||
| * | | Convert the global list of dynamic reference pointers to an intrusively ↵ | 2014-03-28 | 1 | -19/+9 | |
| | | | | | | | | | linked list | ||||
| * | | Fix invalid iterator use when removing modes in ModuleManager::DoSafeUnload() | 2014-03-15 | 1 | -2/+4 | |
| | | | |||||
| * | | Add UserManager::GetUsers() | 2014-03-15 | 1 | -1/+3 | |
| | | | |||||
| * | | Add InspIRCd::GetChans(), remove ChannelCount() | 2014-03-14 | 1 | -1/+2 | |
| | | | |||||
