summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index fbdac43d2..9bb8e9a05 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -632,7 +632,7 @@ bool Server::DelModeWatcher(ModeWatcher* mw)
bool Server::AddResolver(Resolver* r)
{
- return dns_add_class(r);
+ return ServerInstance->Res->AddResolverClass(r);
}
int Server::CountUsers(chanrec* c)