summaryrefslogtreecommitdiff
path: root/src/plugins/sample.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/sample.c')
-rw-r--r--src/plugins/sample.c6
1 files changed, 1 insertions, 5 deletions
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) {