1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-27 12:06:39 +02:00
Files
unrealircd/include
Bram Matthys 64e5de4c8c ExtBanAdd: Actually enforce conv_param as a required event.
This was documented as optional in include/modules.h but on
https://www.unrealircd.org/docs/Dev:Extended_Bans_API it
was always mentioned as required.
In practice, I know of no module that does not have this,
in UnrealIRCd or third party (doing zero filtering is
quite a bad idea).

Anyway, long story short: this also means we can remove some
(flawed) logic in src/api-extban.c in case conv_param was
NULL, which raised a compiler warning:

api-extban.c: In function ‘extban_conv_param_nuh_or_extban’:
cc1: error: function may return address of local variable [-Werror=return-local-addr]
api-extban.c:382:14: note: declared here
  382 |         char tmpbuf[USERLEN + NICKLEN + HOSTLEN + 32];
      |              ^~~~~~
2023-01-01 09:51:07 +01:00
..
2022-12-29 10:07:19 +01:00
2022-12-14 15:24:19 +00:00
2021-09-23 19:21:19 +02:00
2022-01-05 00:07:22 +03:00
2000-02-28 22:45:44 +00:00
2022-12-07 08:53:44 +01:00
2004-05-13 16:39:23 +00:00
2022-01-28 17:02:19 +01:00