Config - defaults
- Implemented replacement Config::get* methods. - Replaced all calls throughout the code, with the new methods which have no static values as defaults.
This commit is contained in:
@@ -40,7 +40,7 @@ Permission::Permission ()
|
||||
, quit (false)
|
||||
{
|
||||
// Turning confirmations off is the same as entering "all".
|
||||
if (context.config.get ("confirmation", true) == false)
|
||||
if (context.config.getBoolean ("confirmation") == false)
|
||||
allConfirmed = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user