(irc) Require real-name be defined

This commit is contained in:
Jaidyn Ann 2021-08-18 15:30:20 -05:00
parent f1464cb01c
commit 32fbe59f01

View File

@ -1368,6 +1368,8 @@ IrcProtocol::_AccountTemplate()
realName.AddString("name", "real_name"); realName.AddString("name", "real_name");
realName.AddString("description", B_TRANSLATE("Real name:")); realName.AddString("description", B_TRANSLATE("Real name:"));
realName.AddInt32("type", B_STRING_TYPE); realName.AddInt32("type", B_STRING_TYPE);
realName.AddString("default", "Gord the Destroyer");
realName.AddString("error", B_TRANSLATE("A real name must be defined. (P.S.: You can lie!)"));
settings.AddMessage("setting", &realName); settings.AddMessage("setting", &realName);
BMessage part; BMessage part;