1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-28 13:56:38 +02:00
Files
unrealircd/include
Bram Matthys 7b02afb3e5 Make MOD_LOAD and MOD_UNLOAD have a useful argument: pass modinfo, just like in MOD_TEST and MOD_INIT.
Change MOD_TEST/MOD_LOAD/etc macro's (this breaks all modules). Now just use this:
MOD_INIT(modulename)
{
// you can access modinfo here.. or other stuff...
}

(Similar to the CMD_FUNC() macro)

Rather than:
DLLFUNC int MOD_INIT(name)(ModuleInfo *modinfo)
{
//...
}
2015-07-08 17:57:02 +02:00
..
2015-06-27 12:59:00 +02:00
2002-03-05 23:09:39 +00:00
2002-01-19 17:04:04 +00:00
2002-02-16 20:15:41 +00:00
...
2004-11-26 22:28:13 +00:00
2015-05-20 02:57:14 -04:00
2015-05-27 00:15:29 +02:00
2015-05-27 18:05:04 +02:00
2015-07-04 15:02:22 +02:00
2000-02-28 22:45:44 +00:00
2015-06-27 12:59:00 +02:00
2004-05-12 22:02:05 +00:00
2000-07-14 20:22:59 +00:00
2015-07-06 18:09:37 -07:00
2004-05-13 16:39:23 +00:00
2004-02-22 02:52:12 +00:00