diff options
-rw-r--r-- | data/botserv.example.conf | 2 | ||||
-rw-r--r-- | data/chanserv.example.conf | 2 | ||||
-rw-r--r-- | data/global.example.conf | 2 | ||||
-rw-r--r-- | data/hostserv.example.conf | 2 | ||||
-rw-r--r-- | data/irc2sql.example.conf | 2 | ||||
-rw-r--r-- | data/memoserv.example.conf | 2 | ||||
-rw-r--r-- | data/nickserv.example.conf | 2 | ||||
-rw-r--r-- | data/operserv.example.conf | 2 | ||||
-rw-r--r-- | include/protocol.h | 2 | ||||
-rw-r--r-- | include/users.h | 2 | ||||
-rw-r--r-- | src/config.cpp | 6 |
11 files changed, 13 insertions, 13 deletions
diff --git a/data/botserv.example.conf b/data/botserv.example.conf index 07e852d45..20a5523ea 100644 --- a/data/botserv.example.conf +++ b/data/botserv.example.conf @@ -36,7 +36,7 @@ service /* * The realname of the BotServ client. */ - gecos = "Bot Service" + real = "Bot Service" /* * The modes this client should use. diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index 218e42a1f..d3f1f6bda 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -26,7 +26,7 @@ service /* * The realname of the ChanServ client. */ - gecos = "Channel Registration Service" + real = "Channel Registration Service" /* * The modes this client should use. diff --git a/data/global.example.conf b/data/global.example.conf index 6f207a692..b2486555b 100644 --- a/data/global.example.conf +++ b/data/global.example.conf @@ -26,7 +26,7 @@ service /* * The realname of the Global client. */ - gecos = "Global Noticer" + real = "Global Noticer" /* * The modes this client should use. diff --git a/data/hostserv.example.conf b/data/hostserv.example.conf index 4451207ad..71c4e2e8f 100644 --- a/data/hostserv.example.conf +++ b/data/hostserv.example.conf @@ -26,7 +26,7 @@ service /* * The realname of the HostServ client. */ - gecos = "Hostname Service" + real = "Hostname Service" /* * The modes this client should use. diff --git a/data/irc2sql.example.conf b/data/irc2sql.example.conf index 5e090d4f2..260cf836a 100644 --- a/data/irc2sql.example.conf +++ b/data/irc2sql.example.conf @@ -23,7 +23,7 @@ service /* * The realname of the StatServ client. */ - gecos = "Statistical Service" + real = "Statistical Service" /* * The modes this client should use. diff --git a/data/memoserv.example.conf b/data/memoserv.example.conf index 7906bc14a..8af2c9a83 100644 --- a/data/memoserv.example.conf +++ b/data/memoserv.example.conf @@ -26,7 +26,7 @@ service /* * The realname of the MemoServ client. */ - gecos = "Memo Service" + real = "Memo Service" /* * The modes this client should use. diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf index 536632036..211c9a29f 100644 --- a/data/nickserv.example.conf +++ b/data/nickserv.example.conf @@ -26,7 +26,7 @@ service /* * The realname of the NickServ client. */ - gecos = "Nickname Registration Service" + real = "Nickname Registration Service" /* * The modes this client should use. diff --git a/data/operserv.example.conf b/data/operserv.example.conf index 2b35bf574..87d9bea93 100644 --- a/data/operserv.example.conf +++ b/data/operserv.example.conf @@ -26,7 +26,7 @@ service /* * The realname of the OperServ client. */ - gecos = "Operator Service" + real = "Operator Service" /* * The modes this client should use. diff --git a/include/protocol.h b/include/protocol.h index 40312874d..5ffbdf7c9 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -83,7 +83,7 @@ public: /* Can we set vidents on users? */ bool CanSetVIdent = false; - /* Can we ban specific gecos from being used? */ + /* Can we ban specific realname from being used? */ bool CanSNLine = false; /* Can we ban specific nicknames from being used? */ diff --git a/include/users.h b/include/users.h index cfb472140..7bad2af37 100644 --- a/include/users.h +++ b/include/users.h @@ -105,7 +105,7 @@ protected: * @param svhost The vhost of the user * @param sip The ip of the user * @param sserver The server of the user - * @param srealname The realname/gecos of the user + * @param srealname The realname of the user * @param ts User's timestamp * @param smodes User's modes * @param suid The unique identifier of the user. 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<const Anope::string>("nick"), &user = service.Get<const Anope::string>("user", nick.lower()), &host = service.Get<const Anope::string>("host", servername), - &gecos = service.Get<const Anope::string>("gecos", nick), + &real = service.Get<const Anope::string>("real", nick), &modes = service.Get<const Anope::string>("modes"), &channels = service.Get<const Anope::string>("channels"), &alias = service.Get<const Anope::string>("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; |