summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
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);
}