summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-06 23:47:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-06 23:47:02 +0000
commitded5711d0579e02513aff2171b570cdcd43eda97 (patch)
tree63e50c1e56a76985c0f15193e99e9a002a85189e
parent6c6348e3b9a0fae5388003324b4c2f99f8fb82ea (diff)
Force initialize host to "" just in case it isnt (it should be however, as its constructor is called, but we know what ass-u-me did)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3115 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/dnsqueue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 7dcc78e83..c117ad4cb 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -71,11 +71,13 @@ public:
Lookup()
{
*u = 0;
+ hostname = "";
}
void Reset()
{
*u = 0;
+ hostname = "";
}
~Lookup()