summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b8530b9)
raw | patch | inline | side by side (parent: b8530b9)
author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Wed, 2 Aug 2017 05:15:50 +0000 (12:15 +0700) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Wed, 2 Aug 2017 05:22:13 +0000 (12:22 +0700) |
Closes: #927
src/perl.c | patch | blob | history |
diff --git a/src/perl.c b/src/perl.c
index d01f5c7cf67fb1dd789a1b847d99bfb004e29472..66ad181948ee6d41009768872ebb69500b278b89 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
char *plugin;
HV *config;
+ if (NULL == perl_threads) {
+ log_err("No plugins was loaded yet! Put your plugin configuration block "
+ "after relevant `LoadPlugin' option.");
+ return -1;
+ }
+
dSP;
if ((1 != ci->values_num) || (OCONFIG_TYPE_STRING != ci->values[0].type)) {