summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-24 18:22:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-24 18:22:24 +0000
commitc30fd933e0cc7e4a1853642f9c7969e290559a85 (patch)
tree3584633b565d16e80cd2df8e5a5b882477e3babf
parenta168cf04dac543c63a1c2b7b438a3c3d97d3637e (diff)
One character brain-wave fix (had idea at work)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3317 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 1af2b51ff..cb2eeb041 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -95,7 +95,7 @@ InspSocket::InspSocket(std::string ahost, int port, bool listening, unsigned lon
}
else
{
- this->host = host;
+ this->host = ahost;
this->port = port;
if (!inet_aton(host.c_str(),&addy))