summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-21 19:11:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-21 19:11:07 +0000
commit326a73ff7bd43564cd850c9db2ca9ccde53a5292 (patch)
tree467996203f249dda841bb18bc300a6a9b20438a7 /src/dnsqueue.cpp
parent94b20ad3b9d391d994bb6097b6f4ed5fc6b7711b (diff)
Fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3275 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 3858b16aa..c117ad4cb 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -87,7 +87,7 @@ public:
bool DoLookup(std::string nick)
{
hostname = "";
- userrec* usr = Find(nick.c_str());
+ userrec* usr = Find(nick);
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.c_str());
+ userrec* u = Find(nick);
if (u)
{
/* Check the cache */