summaryrefslogtreecommitdiff
path: root/win/inspircd_win32wrapper.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-24 18:46:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-24 18:46:24 +0000
commit7770edd7037180c4a49771beb89519874a650668 (patch)
tree530596131af10d73e06fc0b11ed404438c652430 /win/inspircd_win32wrapper.cpp
parent31eb647e2bdb922f4c1d6d56d493e268d41c110b (diff)
Two things, document how InspIRCd finds the dns server ip on windows if you don't specify one,
and have win32 default to 127.0.0.1 for dns queries in the very unlikely chance you have no network interfaces active. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7129 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/inspircd_win32wrapper.cpp')
-rw-r--r--win/inspircd_win32wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp
index 1cdd46444..017ed4808 100644
--- a/win/inspircd_win32wrapper.cpp
+++ b/win/inspircd_win32wrapper.cpp
@@ -414,7 +414,7 @@ bool GetInterface(HKEY regkey, const char *key, char* &output)
std::string FindNameServerWin()
{
- std::string returnval;
+ std::string returnval = "127.0.0.1";
HKEY top, key;
char* dns = NULL;