projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make server blocks default to leaf.
[ircu2.10.12-pk.git]
/
ircd
/
ircd_parser.y
diff --git
a/ircd/ircd_parser.y
b/ircd/ircd_parser.y
index e1a0ace201f675f271bcda7cd754158d01731f92..31d3a16ec4842322b6db52bdd34b81523c523a42 100644
(file)
--- a/
ircd/ircd_parser.y
+++ b/
ircd/ircd_parser.y
@@
-442,6
+442,7
@@
serverblock: SERVER
{
aconf = (struct ConfItem*) MyMalloc(sizeof(*aconf));
memset(aconf, 0, sizeof(*aconf));
+ aconf->status = CONF_LEAF;
} '{' serveritems '}'
{
if (aconf->status == 0)