- Bug due to missing reference & in calls to callHookScript.  Dumbass.
This commit is contained in:
Paul Beckingham 2014-10-18 23:59:40 -04:00
parent f1639e6862
commit 719e9d242b
2 changed files with 2 additions and 2 deletions

View file

@ -449,7 +449,7 @@ bool Hooks::isJSON (const std::string& input) const
int Hooks::callHookScript (
const std::string& script,
const std::vector <std::string>& input,
std::vector <std::string> output)
std::vector <std::string>& output)
{
if (_debug >= 1)
context.debug ("Hooks: Calling " + script);

View file

@ -52,7 +52,7 @@ public:
private:
std::vector <std::string> scripts (const std::string&);
bool isJSON (const std::string&) const;
int callHookScript (const std::string&, const std::vector <std::string>&, std::vector <std::string>);
int callHookScript (const std::string&, const std::vector <std::string>&, std::vector <std::string>&);
private:
bool _enabled;