summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-20 09:24:58 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-20 09:24:58 -0300
commite9dd6ef7a466d98337fe784804fdf9703d64ed8b (patch)
tree96ee3f67bc1b0a95ab6813c025dc3211b3f4ce97 /hercules
parentb63167d15107f9f666199e5e2702520c8176584a (diff)
downloadtools-e9dd6ef7a466d98337fe784804fdf9703d64ed8b.tar.gz
tools-e9dd6ef7a466d98337fe784804fdf9703d64ed8b.tar.bz2
tools-e9dd6ef7a466d98337fe784804fdf9703d64ed8b.tar.xz
tools-e9dd6ef7a466d98337fe784804fdf9703d64ed8b.zip
Update group-gen to fit TMW2 needs
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/servertoclient/groups.py2
-rw-r--r--hercules/templates/group.tpl1
2 files changed, 2 insertions, 1 deletions
diff --git a/hercules/code/servertoclient/groups.py b/hercules/code/servertoclient/groups.py
index 99424e5..9a2d6b1 100644
--- a/hercules/code/servertoclient/groups.py
+++ b/hercules/code/servertoclient/groups.py
@@ -155,7 +155,7 @@ def getInheritStr(inherits, names):
def convertGroups():
destDir = "clientdata/"
templatesDir = "templates/"
- groupsConfFile = "serverdata/conf/groups.conf"
+ groupsConfFile = "../../server-data/conf/groups.conf"
makeDir(destDir)
tpl = readFile(templatesDir + "group.tpl")
groupsTpl = readFile(templatesDir + "groups.xml")
diff --git a/hercules/templates/group.tpl b/hercules/templates/group.tpl
index 99868d3..c93b778 100644
--- a/hercules/templates/group.tpl
+++ b/hercules/templates/group.tpl
@@ -2,6 +2,7 @@
id="{id}"
name={name}
longName={name}{inherit}
+ highlightName="true"
>
<commands>{commands}
</commands>