37 Commits

Author SHA1 Message Date
InspIRCd Robot
ae3e2db109 Update copyright headers. 2024-06-07 10:37:56 +01:00
Sadie Powell
c054356831 Make the constructor of ModuleEventListener protected. 2023-08-20 18:05:32 +01:00
Sadie Powell
d141f9c025 Make module classes specify their priority manually. 2023-02-27 20:29:56 +00:00
Sadie Powell
b2d86bb8a1 Qualify auto correctly in all cases. 2023-01-10 23:30:34 +00:00
Sadie Powell
41926908ec Fix some types which were missed when making stuff final. 2022-10-30 12:58:38 +00:00
Sadie Powell
61283b949d Refactor the core event macros. 2022-08-20 18:24:56 +01:00
Sadie Powell
fe9107c992 Modernize the syntax of various templates. 2022-06-23 21:22:04 +01:00
Sadie Powell
d79147e7af Abolish the infernal space before accessibility keywords. 2022-01-25 14:02:36 +00:00
Sadie Powell
40035385c6 Add constexpr to the initialisation of various const static fields. 2022-01-18 14:33:06 +00:00
Sadie Powell
421e8c8c79 Add the final keyword to all remaining classes that can have it. 2021-12-20 20:19:40 +00:00
Sadie Powell
d21e969e4d Fix module events not being fired correctly.
Regression introduced in commit ba3dd9ce.

Closes #1912.
2021-07-01 18:37:23 +01:00
Sadie Powell
7a712456f1 Merge branch 'insp3' into master. 2021-05-14 16:54:33 +01:00
InspIRCd Robot
e94b673532 Update copyright headers. 2021-05-14 14:48:39 +01:00
Sadie Powell
e76b208ce8 Merge branch 'insp3' into master. 2021-03-05 09:54:26 +00:00
Sadie Powell
2ba32afa9a Fix a bunch of really obvious unnecessary includes. 2021-03-05 09:17:13 +00:00
Sadie Powell
4f68d162cc Merge branch 'insp3' into master. 2021-01-07 13:13:58 +00:00
Sadie Powell
2c789b7c32 Fix core message events not being fired.
Third time lucky eh?
2020-12-23 15:39:31 +00:00
Sadie Powell
a63b6e16df Merge branch 'insp3' into master. 2020-12-21 16:40:52 +00:00
Sadie Powell
029ff235e1 Fix an inverted condition in the previous commit. 2020-12-20 00:25:27 +00:00
Sadie Powell
b618b194f3 Don't call events provided by dying or dead modules. 2020-12-18 01:10:13 +00:00
Sadie Powell
ba3dd9cedc Convert FOREACH_MOD_CUSTOM to a variadic function. 2020-11-10 23:14:21 +00:00
Sadie Powell
c7690513cd Convert FIRST_MOD_RESULT_CUSTOM to a variadic function. 2020-11-10 22:23:26 +00:00
Sadie Powell
6da4987073 Merge branch 'insp3' into master. 2020-02-04 12:26:25 +00:00
InspIRCd Robot
8f62016f16 Update copyright headers. 2020-01-31 12:48:25 +00:00
Sadie Powell
1de6f5b4a9 Merge branch 'insp3' into master. 2020-01-17 12:36:09 +00:00
Sadie Powell
5ae6524522 Fix the ordering of custom event handlers.
Closes #1742.
2020-01-17 11:27:31 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
7b68936321 Merge branch 'insp3' into master. 2019-11-13 15:24:45 +00:00
Peter Powell
318b40dd70 Allow event providers to know when a listener subs or unsubs. 2019-10-21 12:06:37 +01:00
Sadie Powell
cd8b456f97 Merge branch 'insp3' into master. 2019-07-16 16:48:18 +01:00
Peter Powell
87bbf574bd Only call events on modules which aren't dying. 2019-06-06 14:14:46 +01:00
Sadie Powell
1fff2f7f87 Merge branch 'insp3' into master. 2019-03-30 22:06:19 +00:00
Peter Powell
74136695f8 Fix erasing event subscribers erasing all with the same priority. 2019-02-19 20:59:04 +00:00
Sadie Powell
c78ecdf579 Replace the override macro with the override keyword. 2019-01-25 02:52:11 +00:00
Peter Powell
0e6b18ff91 Fix warnings from Doxygen. 2018-10-21 19:18:08 +01:00
Peter Powell
58a0a7e014 Implement IRCv3 message tag support.
Co-authored-by: Attila Molnar <attilamolnar@hush.com>
2018-08-13 21:51:11 +01:00
Attila Molnar
7492344e64 Add new cross-module event system 2015-02-11 16:38:40 +01:00