summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-12 12:26:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-12 12:26:58 +0000
commit069fa0a4727139c4df17b1112b4d70e6b4f53433 (patch)
treef4c28304abcd42d89659e996b3f47842e0e7f1be /src/modules.cpp
parentb864f69ce98841fd54e2328b49e34b5be49525b8 (diff)
Test framework in m_testcommand, add interface
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4354 e03df62e-2008-0410-955e-edbf42e46eb7
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);