summaryrefslogtreecommitdiff
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-13 13:42:56 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-13 13:42:56 +0000
commit883c04a08ab3c927219d754de4265c84c20f580d (patch)
tree4b96c851484323fe62a85836edc80a6d5df3ff17 /src/socket.cpp
parentbb5fa0808107985317ce5d6d12a9539312e67ca9 (diff)
Removal of ancient TRUE/FALSE #defines (C-ish stuff)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 2868375a5..787e656da 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -76,7 +76,7 @@ InspSocket::InspSocket(const std::string &ahost, int aport, bool listening, unsi
}
else
{
- if (BindSocket(this->fd,this->client,this->server,aport,(char*)ahost.c_str()) == ERROR)
+ if (!BindSocket(this->fd,this->client,this->server,aport,(char*)ahost.c_str()))
{
this->Close();
this->fd = -1;