diff options
| author | 2006-02-06 23:47:02 +0000 | |
|---|---|---|
| committer | 2006-02-06 23:47:02 +0000 | |
| commit | ded5711d0579e02513aff2171b570cdcd43eda97 (patch) | |
| tree | 63e50c1e56a76985c0f15193e99e9a002a85189e /src/dnsqueue.cpp | |
| parent | Disabled ip->hostname cache, seems a bit fubar (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
Diffstat (limited to 'src/dnsqueue.cpp')
| -rw-r--r-- | src/dnsqueue.cpp | 2 |
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() |
