diff options
| author | 2006-07-28 12:15:26 +0000 | |
|---|---|---|
| committer | 2006-07-28 12:15:26 +0000 | |
| commit | 0caead69fb08e42608e37ed5368cfdaf3ecf3088 (patch) | |
| tree | d5b60f25382a870106336716aaee0c8d744b66a9 /src/inspsocket.cpp | |
| parent | Remove TODO, we just did it. (diff) | |
Tidyup message.cpp, remove some really old craq.
Improve tidiness of new common_channels function
Add timeout value to blocking CleanAndResolve function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
| -rw-r--r-- | src/inspsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index cc0368525..2d49c19db 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -204,7 +204,7 @@ bool InspSocket::BindAddr() { /* If they gave a hostname, bind to the IP it resolves to */ log(DEBUG,"Resolving host %s",IP.c_str()); - if (CleanAndResolve(resolved_addr, IP.c_str(), true)) + if (CleanAndResolve(resolved_addr, IP.c_str(), true, 1)) { log(DEBUG,"Resolved host %s to %s",IP.c_str(),resolved_addr); IP = resolved_addr; |
