summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules.h1
-rw-r--r--include/modules/dns.h7
2 files changed, 0 insertions, 8 deletions
diff --git a/include/modules.h b/include/modules.h
index 1fd1c7e00..3cf780284 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -39,7 +39,6 @@
*/
enum ModuleFlags {
VF_NONE = 0, // module is not special at all
- VF_STATIC = 1, // module is static, cannot be /unloadmodule'd
VF_VENDOR = 2, // module is a vendor module (came in the original tarball, not 3rd party)
VF_COMMON = 4, // module needs to be common on all servers in a network to link
VF_OPTCOMMON = 8, // module should be common on all servers for unsurprising behavior
diff --git a/include/modules/dns.h b/include/modules/dns.h
index cfa048184..a66e3c28e 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -72,12 +72,6 @@ namespace DNS
const int PORT = 53;
- /**
- * The maximum value of a dns request id,
- * 16 bits wide, 0xFFFF.
- */
- const int MAX_REQUEST_ID = 0xFFFF;
-
class Exception : public ModuleException
{
public:
@@ -161,7 +155,6 @@ namespace DNS
, id(0)
, creator(mod)
{
- ServerInstance->Timers.AddTimer(this);
}
virtual ~Request()