1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-26 23:16:38 +02:00
Files
unrealircd/include
Bram Matthys dc55c3ec9f Add CALL_CMD_FUNC(cmd_func_name) and use it.
This is only for calls within the same module, as otherwise you
should use do_cmd().

Benefit of this way is that it is short and you don't have to worry
about passing the right command parameters, which may change over time.
Example as used in src/modules/nick.c:
-               cmd_nick_remote(client, recv_mtags, parc, parv);
+               CALL_CMD_FUNC(cmd_nick_remote);
2022-08-28 09:04:12 +02: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
2004-05-13 16:39:23 +00:00
2022-01-28 17:02:19 +01:00