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
Add autoconnect option for Connect block.
[ircu2.10.12-pk.git]
/
ircd
/
ircd.c
diff --git
a/ircd/ircd.c
b/ircd/ircd.c
index bf82c8cfbaf3cb3cb641e6fff33e3001eb4b950f..f2903003fdc476ef3068d3068aa80b51cc0b3bdd 100644
(file)
--- a/
ircd/ircd.c
+++ b/
ircd/ircd.c
@@
-265,6
+265,7
@@
static void try_connections(struct Event* ev) {
*/
if (!(aconf->status & CONF_SERVER)
|| aconf->address.port == 0
+ || !(aconf->flags & CONF_AUTOCONNECT)
|| ((ajupe = jupe_find(aconf->name)) && JupeIsActive(ajupe)))
continue;