summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/hs_moo.c4
-rw-r--r--src/modules/makefile.win322
2 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/hs_moo.c b/src/modules/hs_moo.c
index 04641e860..0c3070036 100644
--- a/src/modules/hs_moo.c
+++ b/src/modules/hs_moo.c
@@ -70,6 +70,10 @@ int test(int argc, char **argv) {
return MOD_CONT;
}
+void AnopeFini(void)
+{
+ /* module is unloading */
+}
/***************************************************************************************************************************************/
/* The code below here shows various ways of dealing with the module help system */
diff --git a/src/modules/makefile.win32 b/src/modules/makefile.win32
index a2cca02e8..13133e0b7 100644
--- a/src/modules/makefile.win32
+++ b/src/modules/makefile.win32
@@ -3,7 +3,7 @@ include ./Makefile.inc.win32
OBJECTS= $(SRCS:.c=.dll)
CFLAGS=/LD /MD /D MODULE_COMPILE $(CFLAGS) /I"../../include"
-LFLAGS=/link ../anope.lib wsock32.lib libmysql.lib $(LFLAGS) $(MYSQL_LIB_PATH) /export:AnopeInit
+LFLAGS=/link ../anope.lib wsock32.lib $(LIBS) $(LFLAGS) $(MYSQL_LIB_PATH) /export:AnopeInit /export:AnopeFini
all: $(OBJECTS)