Check for unallocated string

This commit is contained in:
Berke Viktor 2012-10-25 18:15:20 +02:00
parent 4a5be24804
commit ce3fa431f4
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}