summaryrefslogtreecommitdiff
path: root/Types/StandardGroups.hs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-10-14 14:10:22 -0400
committerJoey Hess <joey@kitenet.net>2014-10-14 14:15:07 -0400
commitdb9121eceee303937bb31a390846f023fa2ec06c (patch)
tree6ced00f03b963acacf136fc82f8e326ecc61a662 /Types/StandardGroups.hs
parent5fcb75d371d0edce19953538e7e3f72fd308e29c (diff)
vicfg: Deleting configurations now resets to the default, where before it has no effect.
Added a Default instance for TrustLevel, and was able to use that to clear up several other parts of the code too. This commit was sponsored by Stephan Schulz
Diffstat (limited to 'Types/StandardGroups.hs')
-rw-r--r--Types/StandardGroups.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Types/StandardGroups.hs b/Types/StandardGroups.hs
index 66c1dd5ef4..a60445a658 100644
--- a/Types/StandardGroups.hs
+++ b/Types/StandardGroups.hs
@@ -9,6 +9,7 @@ module Types.StandardGroups where
import Types.Remote (RemoteConfig)
import Types.Group
+import Data.Default
import qualified Data.Map as M
import Data.Maybe