1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 20:46:38 +02:00

Module devs: Add priorities for command overrides.

Use: CmdoverrideAddEx(module, name, priority, function)
Suggested by Gottem in https://bugs.unrealircd.org/view.php?id=5143
..and needed by some upcoming stuff.
This commit is contained in:
Bram Matthys
2018-09-20 20:01:39 +02:00
parent 886b67ca8a
commit 30da2ae553
3 changed files with 10 additions and 2 deletions
+1
View File
@@ -1704,6 +1704,7 @@ struct Command {
struct _cmdoverride {
Cmdoverride *prev, *next;
int priority;
Module *owner;
aCommand *command;
int (*func)();