diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 14:44:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 14:44:28 +0000 |
commit | 8b6b85c19528de8f0d35ab766d7559ad519869b3 (patch) | |
tree | 53f954bf81daaeb4edfd653f8ae0ecfa7ebdeb69 /src/inspircd.cpp | |
parent | 262b54d0a8d203842a2b04585f08e4102bdbb7e0 (diff) |
Moved some other stuff into ServerConfig
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2416 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 002b3ca52..15915607d 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1896,11 +1896,11 @@ int BindPorts() { char configToken[MAXBUF], Addr[MAXBUF], Type[MAXBUF]; int clientportcount = 0; - for (int count = 0; count < ConfValueEnum("bind",&Config->config_f); count++) + for (int count = 0; count < Config->ConfValueEnum("bind",&Config->config_f); count++) { - ConfValue("bind","port",count,configToken,&Config->config_f); - ConfValue("bind","address",count,Addr,&Config->config_f); - ConfValue("bind","type",count,Type,&Config->config_f); + Config->ConfValue("bind","port",count,configToken,&Config->config_f); + Config->ConfValue("bind","address",count,Addr,&Config->config_f); + Config->ConfValue("bind","type",count,Type,&Config->config_f); if (strcmp(Type,"servers")) { // modules handle server bind types now, |