diff options
author | Adam <Adam@anope.org> | 2013-04-22 05:21:38 +0200 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-04-26 16:59:29 -0500 |
commit | 8428bbb387d4b1195156f0ab5a676d17b69b8d5f (patch) | |
tree | 6a4391bc908dfc8bbf3f7879cbb464a36204520f /include/inspircd.h | |
parent | 0f928805dbd793d7c0f10da1135ab79ad169472f (diff) |
Modularize DNS
The DNS modules are temporarily in commands/ so they're loaded automatically
Thanks to Attila for helping with much of this.
Diffstat (limited to 'include/inspircd.h')
-rw-r--r-- | include/inspircd.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 25ef288aa..bc0b9cd1b 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -432,10 +432,6 @@ class CoreExport InspIRCd */ SnomaskManager* SNO; - /** DNS class, provides resolver facilities to the core and modules - */ - DNS* Res; - /** Timer manager class, triggers Timer timer events */ TimerManager* Timers; @@ -612,24 +608,6 @@ class CoreExport InspIRCd */ caller1<bool, const std::string&> IsIdent; - /** Add a dns Resolver class to this server's active set - * @param r The resolver to add - * @param cached If this value is true, then the cache will - * be searched for the DNS result, immediately. If the value is - * false, then a request will be sent to the nameserver, and the - * result will not be immediately available. You should usually - * use the boolean value which you passed to the Resolver - * constructor, which Resolver will set appropriately depending - * on if cached results are available and haven't expired. It is - * however safe to force this value to false, forcing a remote DNS - * lookup, but not an update of the cache. - * @return True if the operation completed successfully. Note that - * if this method returns true, you should not attempt to access - * the resolver class you pass it after this call, as depending upon - * the request given, the object may be deleted! - */ - bool AddResolver(Resolver* r, bool cached); - /** Add a command to this server's command parser * @param f A Command command handler object to add * @throw ModuleException Will throw ModuleExcption if the command already exists |