Check for unallocated string
This commit is contained in:
parent
4a5be24804
commit
ce3fa431f4
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user