diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-09 22:49:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 11:47:30 +0300 |
commit | 94fd7816d3356cd3afc16ce5cdf335e2595b857f (patch) | |
tree | 62fcf3e1605a6226ecf4bec0f98d0d7052718254 | |
parent | 3d74b710e56443ac2820aa62ad2b4bb103f7a7b9 (diff) | |
download | hercules-94fd7816d3356cd3afc16ce5cdf335e2595b857f.tar.gz hercules-94fd7816d3356cd3afc16ce5cdf335e2595b857f.tar.bz2 hercules-94fd7816d3356cd3afc16ce5cdf335e2595b857f.tar.xz hercules-94fd7816d3356cd3afc16ce5cdf335e2595b857f.zip |
Enable build HPM hooking plugin for char server.
Enable char server in sample plugin.
-rw-r--r-- | src/plugins/Makefile.in | 2 | ||||
-rw-r--r-- | src/plugins/sample.c | 2 |
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) }; |