summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-05-02 18:18:52 -0300
committershennetsind <ind@henn.et>2013-05-02 18:18:52 -0300
commit430ff860079e70039f0b67910976f2c111a92570 (patch)
tree23462b57304fbe9222ef9d26f341a604068dcb28 /src/plugins
parent4dbe6ac4e8ae91249848777b2127049318107c4c (diff)
downloadhercules-430ff860079e70039f0b67910976f2c111a92570.tar.gz
hercules-430ff860079e70039f0b67910976f2c111a92570.tar.bz2
hercules-430ff860079e70039f0b67910976f2c111a92570.tar.xz
hercules-430ff860079e70039f0b67910976f2c111a92570.zip
Follow up a2c45a8db6d724b98ab41fe9e75e1f7ea7523d5d
Missing CMakeLists.txt edit, removed unnecessary check on the sample plugin Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/plugins')
-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) {