HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Easy_domain: Use DefaultAliasSource for DefaultAlias
[hcoop/domtool2.git]
/
src
/
plugins
/
easy_domain.sml
diff --git
a/src/plugins/easy_domain.sml
b/src/plugins/easy_domain.sml
index
fee0689
..
fafe4d5
100644
(file)
--- a/
src/plugins/easy_domain.sml
+++ b/
src/plugins/easy_domain.sml
@@
-1,5
+1,6
@@
(* HCoop Domtool (http://hcoop.sourceforge.net/)
* Copyright (c) 2007, Adam Chlipala
(* HCoop Domtool (http://hcoop.sourceforge.net/)
* Copyright (c) 2007, Adam Chlipala
+ * Copyright (c) 2014 Clinton Ebadi <clinton@unknownlamer.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@
-42,6
+43,10
@@
val _ = Defaults.registerDefault ("DefaultAlias",
(TBase "bool", dl),
(fn () => (EVar "true", dl)))
(TBase "bool", dl),
(fn () => (EVar "true", dl)))
+val _ = Defaults.registerDefault ("DefaultAliasSource",
+ (TBase "aliasSource", dl),
+ (fn () => (EApp ((EVar "defaultSource", dl), (EString (Domain.getUser ()), dl)), dl)))
+
val _ = Defaults.registerDefault ("HandleMail",
(TBase "bool", dl),
(fn () => (EVar "true", dl)))
val _ = Defaults.registerDefault ("HandleMail",
(TBase "bool", dl),
(fn () => (EVar "true", dl)))
@@
-50,4
+55,8
@@
val _ = Defaults.registerDefault ("AddMX",
(TBase "bool", dl),
(fn () => (EVar "true", dl)))
(TBase "bool", dl),
(fn () => (EVar "true", dl)))
+val _ = Defaults.registerDefault ("DefaultWebNode",
+ (TBase "web_node", dl),
+ (fn () => (EString "navajos", dl)))
+
end
end