Bug #1001
- Fixed bug #1001, which caused a segv (thanks to Bryce Harrington).
This commit is contained in:
@@ -396,7 +396,10 @@ int Context::dispatch (std::string &out)
|
||||
return rc;
|
||||
}
|
||||
|
||||
return commands["help"]->execute (out);
|
||||
if (commands["help"])
|
||||
return commands["help"]->execute (out);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user