mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-24 21:55:38 +00:00
Do not allow blank realname in preferences
This commit is contained in:
1 parent
4ad9a69aeb
commit
a39f8ea71f
1 file changed
+6
@@ -2241,6 +2241,12 @@ setup_apply (struct hexchatprefs *pr)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (prefs.hex_irc_real_name[0] == 0)
|
||||
{
|
||||
fe_message (_("The Realname option cannot be left blank. Defaulting back to \"realname\"."), FE_MSG_WARN);
|
||||
strcpy (prefs.hex_irc_real_name, "realname");
|
||||
}
|
||||
|
||||
setup_apply_real (new_pix, do_ulist, do_layout);
|
||||
|
||||
if (noapply)
|
||||
|
||||
Reference in new issue
Block a user