diff options
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/plugins/sample.c | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ae227aae..883920817 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -493,6 +493,7 @@ set( RUNTIME_DIRECTORIES "doc" "log" "npc" + "plugins" "sql-files" "tools" ) diff --git a/src/plugins/sample.c b/src/plugins/sample.c index 8e6b8fc86..7f7528cb7 100644 --- a/src/plugins/sample.c +++ b/src/plugins/sample.c @@ -37,11 +37,7 @@ HPExport void plugin_init (void) { server_name = GET_SYMBOL("SERVER_NAME"); script = GET_SYMBOL("script"); - - if( !(script = GET_SYMBOL("script")) ) { - ShowError("Failed to load script interface var!\n"); - } - + ShowInfo ("Server type is "); switch (*server_type) { |