From 50f17ea8e1df04c69f9ad5f8da5f7ac95029de9a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 10 May 2025 13:38:29 +0100 Subject: Consistently use realname instead of gecos. --- src/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/config.cpp b/src/config.cpp index 738a447a7..b56af4f97 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -338,7 +338,7 @@ Conf::Conf() : Block("") const Anope::string &nick = service.Get("nick"), &user = service.Get("user", nick.lower()), &host = service.Get("host", servername), - &gecos = service.Get("gecos", nick), + &real = service.Get("real", nick), &modes = service.Get("modes"), &channels = service.Get("channels"), &alias = service.Get("alias", nick.upper()); @@ -346,12 +346,12 @@ Conf::Conf() : Block("") ValidateNotEmptyOrSpaces("service", "nick", nick); ValidateNotEmptyOrSpaces("service", "user", user); ValidateNotEmptyOrSpaces("service", "host", host); - ValidateNotEmpty("service", "gecos", gecos); + ValidateNotEmpty("service", "real", real); ValidateNoSpaces("service", "channels", channels); BotInfo *bi = BotInfo::Find(nick, true); if (!bi) - bi = new BotInfo(nick, user, host, gecos, modes); + bi = new BotInfo(nick, user, host, real, modes); bi->alias = alias; bi->conf = true; -- cgit