about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c
index 5f01648c..bfb52e8f 100644
--- a/src/ngircd/client.c
+++ b/src/ngircd/client.c
@@ -345,7 +345,7 @@ Client_SetHostname( CLIENT *Client, const char *Hostname )
 	assert(Client != NULL);
 	assert(Hostname != NULL);
 
-	if (strlen(Conf_CloakHost)) {
+	if (Conf_CloakHost[0]) {
 		char cloak[GETID_LEN];
 
 		strlcpy(cloak, Hostname, GETID_LEN);