From 94b20ad3b9d391d994bb6097b6f4ed5fc6b7711b Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 21 Feb 2006 19:07:49 +0000 Subject: Fix for ambiguity in function name here git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3274 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/dnsqueue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index c117ad4cb..3858b16aa 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -87,7 +87,7 @@ public: bool DoLookup(std::string nick) { hostname = ""; - userrec* usr = Find(nick); + userrec* usr = Find(nick.c_str()); if (usr) { resolver1.SetNS(std::string(Config->DNSServer)); @@ -210,7 +210,7 @@ public: bool lookup_dns(std::string nick) { /* First attempt to find the nickname */ - userrec* u = Find(nick); + userrec* u = Find(nick.c_str()); if (u) { /* Check the cache */ -- cgit v1.2.3