@@ -1011,12 +1011,6 @@ class ModuleDNS : public Module
10111011{
10121012 MyManager manager;
10131013
1014- Anope::string nameserver;
1015- Anope::string ip;
1016- int port;
1017-
1018- std::vector<std::pair<Anope::string, short > > notify;
1019-
10201014 public:
10211015 ModuleDNS (const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR), manager(this )
10221016 {
@@ -1039,14 +1033,15 @@ class ModuleDNS : public Module
10391033 {
10401034 Configuration::Block *block = conf->GetModule (this );
10411035
1042- nameserver = block->Get <const Anope::string>(" nameserver" , " 127.0.0.1" );
1043- timeout = block->Get <time_t >(" timeout" , " 5" );
1044- ip = block->Get <const Anope::string>(" ip" , " 0.0.0.0" );
1045- port = block->Get <int >(" port" , " 53" );
1036+ Anope::string nameserver = block->Get <const Anope::string>(" nameserver" , " 127.0.0.1" );
1037+ timeout = block->Get <time_t >(" timeout" , " 5" );
1038+ Anope::string ip = block->Get <const Anope::string>(" ip" , " 0.0.0.0" );
1039+ int port = block->Get <int >(" port" , " 53" );
10461040 admin = block->
Get <
const Anope::string>(
" admin" ,
" [email protected] " );
10471041 nameservers = block->Get <const Anope::string>(" nameservers" , " ns1.example.com" );
10481042 refresh = block->Get <int >(" refresh" , " 3600" );
10491043
1044+ std::vector<std::pair<Anope::string, short > > notify;
10501045 for (int i = 0 ; i < block->CountBlock (" notify" ); ++i)
10511046 {
10521047 Configuration::Block *n = block->GetBlock (" notify" , i);
0 commit comments