summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Makefile.in2
-rw-r--r--src/plugins/sample.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Makefile.in b/src/plugins/Makefile.in
index 5c93edb84..802d1015a 100644
--- a/src/plugins/Makefile.in
+++ b/src/plugins/Makefile.in
@@ -28,7 +28,7 @@ HPMHOOKING = $(addprefix HPMHooking_, login char map)
ALLPLUGINS = $(filter-out HPMHooking, $(basename $(wildcard *.c))) $(HPMHOOKING)
# Plugins that will be built through 'make plugins' or 'make all'
-PLUGINS = sample db2sql HPMHooking_login HPMHooking_map $(MYPLUGINS)
+PLUGINS = sample db2sql HPMHooking_char HPMHooking_login HPMHooking_map $(MYPLUGINS)
COMMON_D = ../common
COMMON_H = $(wildcard $(COMMON_D)/*.h)
diff --git a/src/plugins/sample.c b/src/plugins/sample.c
index 88ef84d48..a2bf2c1bc 100644
--- a/src/plugins/sample.c
+++ b/src/plugins/sample.c
@@ -19,7 +19,7 @@
HPExport struct hplugin_info pinfo = {
"Sample", // Plugin name
- SERVER_TYPE_LOGIN|SERVER_TYPE_MAP,// Which server types this plugin works with?
+ SERVER_TYPE_CHAR|SERVER_TYPE_LOGIN|SERVER_TYPE_MAP,// Which server types this plugin works with?
"0.1", // Plugin version
HPM_VERSION, // HPM Version (don't change, macro is automatically updated)
};