summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-21 19:07:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-21 19:07:49 +0000
commit94b20ad3b9d391d994bb6097b6f4ed5fc6b7711b (patch)
tree365565e2ccd23faf5f0535456943e2a6555333e2 /src
parent163c429ec569cd1a506debb37fbd211332e930ff (diff)
Fix for ambiguity in function name here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3274 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/dnsqueue.cpp4
1 files changed, 2 insertions, 2 deletions
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 */