1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 19:13:14 +02:00

cleaned up mod_depend a bit to look nicer

This commit is contained in:
codemastr
2001-06-26 17:08:54 +00:00
parent 724f829a0e
commit 2fe33658f3
3 changed files with 7 additions and 6 deletions
+1
View File
@@ -608,3 +608,4 @@ seen. gmtime warning still there
- Fixed /stats to work fully with newconf
- Added mod_depend checking, see scan_socks.c for example
- Added in Griever's SJOIN fix
- Made mod_depend a bit cleaner to use
+2 -2
View File
@@ -39,9 +39,9 @@
#endif
#ifndef STATIC_LINKING
#define SymD(name, container, realsym) {name, (vFP *) &container}
#define SymD(name, container) {#name, (vFP *) &container}
#else
#define SymD(name, container, realsym) {realsym, (vFP *) &container}
#define SymD(name, container) {name, (vFP *) &container}
#endif
typedef struct moduleInfo ModuleInfo;
+4 -4
View File
@@ -82,10 +82,10 @@ MSymbolTable scan_socks_depend[] = {
#else
MSymbolTable mod_depend[] = {
#endif
SymD("VS_Add", xVS_add, VS_Add),
SymD("HSlock", xHSlock, HSlock),
SymD("VSlock", xVSlock, VSlock),
SymD("blackhole_conf", blackh_conf, blackhole_conf),
SymD(VS_Add, xVS_add),
SymD(HSlock, xHSlock),
SymD(VSlock, xVSlock),
SymD(blackhole_conf, blackh_conf),
{NULL, NULL}
};