summary refs log tree commit diff stats
path: root/src/common/servlist.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-11 02:00:32 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-11 02:00:32 +0200
commita98b95923b4cfc2b05bc570036f810d127aa6e90 (patch)
treea3ce20ad97646c6be03f80b40fc7cf9ad08b2ad0 /src/common/servlist.c
parentcf3d1ebb8b9177f5284c4afdeb02cbe820105175 (diff)
Get rid of this unnecessary buffer
Diffstat (limited to 'src/common/servlist.c')
-rw-r--r--src/common/servlist.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/common/servlist.c b/src/common/servlist.c
index d49b603e..9386bf16 100644
--- a/src/common/servlist.c
+++ b/src/common/servlist.c
@@ -628,22 +628,12 @@ servlist_connect (session *sess, ircnet *net, gboolean join)
 	}
 
 	serv->password[0] = 0;
-	serv->sasluser[0] = 0;
 
 	if (net->pass)
 	{
 		safe_strcpy (serv->password, net->pass, sizeof (serv->password));
 	}
 
-	if (net->flags & FLAG_USE_GLOBAL || net->user == NULL)
-	{
-		strcpy (serv->sasluser, prefs.hex_irc_user_name);
-	}
-	else
-	{
-		safe_strcpy (serv->sasluser, net->user, sizeof (serv->sasluser));
-	}
-
 	if (net->flags & FLAG_USE_GLOBAL)
 	{
 		strcpy (serv->nick, prefs.hex_irc_nick1);