diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 19:31:31 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-11-16 19:31:31 +0000 |
commit | ffbcff160474cd45fbcbbadaff32f38e1d7fea71 (patch) | |
tree | 4155ce7bb17b63cc1bdf40a99a89c1b34a66aef2 /include/extern.h | |
parent | 72a4c7e6c7a4187bfee58bdbf3c235f2b0ae44c7 (diff) |
Added support for multiple uplink blocks in the new config.
Moved the type and id directives from the uplink block to the serverinfo block.
Small config fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1746 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/extern.h')
-rw-r--r-- | include/extern.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/extern.h b/include/extern.h index b1706b622..1ff32aba5 100644 --- a/include/extern.h +++ b/include/extern.h @@ -227,15 +227,7 @@ char *sockstrerror(int error); /**** config.c ****/ -E char *RemoteServer; -E int RemotePort; -E char *RemotePassword; -E char *RemoteServer2; -E int RemotePort2; -E char *RemotePassword2; -E char *RemoteServer3; -E int RemotePort3; -E char *RemotePassword3; +E std::list<Uplink *> Uplinks; E char *LocalHost; E int LocalPort; @@ -514,7 +506,7 @@ E void set_lastmask(User * u); E void introduce_user(const char *user); E int init_primary(int ac, char **av); E int init_secondary(int ac, char **av); -E int servernum; +E Uplink *uplink_server; /**** ircd.c ****/ E void pmodule_ircd_proto(IRCDProto *); |