summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-02 19:34:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-02 19:34:57 +0000
commitc3b861b2507dd2ef52802c69a2d737925846e2e0 (patch)
tree0acd160336f53426b273af935f3ecb5189117cee /src/inspircd_io.cpp
parentd7c9583c8ec819444efdb326d15b2ff92a881089 (diff)
Added IS_SINGLE, see comment in include/inspircd.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3438 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index c0cf997b0..e47cf9dda 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -1183,7 +1183,7 @@ int BindSocket (int sockfd, struct sockaddr_in client, struct sockaddr_in server
struct in_addr addy;
inet_aton(addr,&addy);
server.sin_family = AF_INET;
- if (!strcmp(addr,""))
+ if (!*addr)
{
server.sin_addr.s_addr = htonl(INADDR_ANY);
}