diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:34:04 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-13 20:34:04 +0000 |
commit | 06c2a1979a33998404b272d601da0c359d52494b (patch) | |
tree | ded1567d9fe00a137a6894dc306a53aba02f38ae /src | |
parent | 6eae25cd36a95adff860ebc6b109676a7f3bcd5c (diff) |
Clarify <include:executable> error message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11718 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/configreader.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index fdb558789..5e1dd6969 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1617,7 +1617,10 @@ bool ServerConfig::ParseLine(const std::string &filename, std::string &line, lon { if (!allowexeinc) { - errstr << "Configuration added by <include:executable> is not allowed to have its own <include:executable> tags for security reasons." << std::endl; + errstr << "Executable includes are not allowed to use <include:executable>\n" + "This could be an attempt to execute commands from a malicious remote include.\n" + "If you need multiple levels of remote include, create a script to assemble the " + "contents locally or include files using <include:file>\n"; return false; } |