From 069fa0a4727139c4df17b1112b4d70e6b4f53433 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 12 Jul 2006 12:26:58 +0000 Subject: Test framework in m_testcommand, add interface git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/modules.cpp') 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); -- cgit v1.3.1-10-gc9f91