summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 2297db53b..7214a9673 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -43,6 +43,7 @@
#include "typedefs.h"
#include "modules.h"
#include "command_parse.h"
+#include "dns.h"
extern ServerConfig *Config;
extern InspIRCd* ServerInstance;
@@ -606,6 +607,11 @@ bool Server::DelModeWatcher(ModeWatcher* mw)
return ServerInstance->ModeGrok->DelModeWatcher(mw);
}
+bool Server::AddResolver(Resolver* r)
+{
+ return dns_add_class(r);
+}
+
int Server::CountUsers(chanrec* c)
{
return usercount(c);