summary refs log tree commit diff stats
path: root/src/common/servlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/servlist.c')
-rw-r--r--src/common/servlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/servlist.c b/src/common/servlist.c
index e42688d9..6529b162 100644
--- a/src/common/servlist.c
+++ b/src/common/servlist.c
@@ -620,7 +620,7 @@ servlist_connect (session *sess, ircnet *net, gboolean join)
 	{
 		strcpy (serv->sasluser, prefs.hex_irc_user_name);
 	}
-	else
+	else if (net->user != NULL)
 	{
 		safe_strcpy (serv->sasluser, net->user, sizeof (serv->sasluser));
 	}