WHOWAS does not save the realusername, only the realhost.
-diff -r 61ab84082475 ircd/gline.c
+diff -r 4677b599b0cc ircd/gline.c
--- a/ircd/gline.c
+++ b/ircd/gline.c
@@ -259,7 +259,7 @@
continue;
if (GlineIsIpMask(gline)) {
-diff -r 61ab84082475 ircd/ircd_auth.c
---- a/ircd/ircd_auth.c
-+++ b/ircd/ircd_auth.c
-@@ -297,7 +297,8 @@
- /* No active connections - approve the requests and drop them. */
- while ((iar = i_list_head(iauth).iar_next) != &i_list_head(iauth)) {
- struct Client *client = iar->iar_client;
-- ircd_strncpy(cli_user(client)->realusername, cli_username(client), USERLEN);
-+ /* TODO: */
-+ /* ircd_strncpy(cli_user(client)->realusername, cli_user(client)->username, USERLEN); */
- iauth_dispose_request(iauth, iar);
- register_user(client, client, cli_name(client), cli_username(client));
- }
-@@ -791,8 +792,9 @@
- return;
- }
- client = iar->iar_client;
-+ /* TODO: copy realusername here already? */
- ircd_strncpy(cli_username(client), username, USERLEN);
-- ircd_strncpy(cli_user(client)->realusername, username, USERLEN);
-+ /* ircd_strncpy(cli_user(client)->realusername, username, USERLEN); */
- ircd_strncpy(cli_user(client)->host, hostname, HOSTLEN);
- if (account) {
- ircd_strncpy(cli_user(client)->account, account, ACCOUNTLEN);
-diff -r 61ab84082475 ircd/m_nick.c
+diff -r 4677b599b0cc ircd/m_nick.c
--- a/ircd/m_nick.c
+++ b/ircd/m_nick.c
@@ -421,7 +421,7 @@
sendto_opmask_butone(0, SNO_OLDSNO, "Nick change collision from %C to "
"%C (%C %Tu <- %C %Tu)", sptr, acptr, cli_from(acptr),
cli_lastnick(acptr), cptr, lastnick);
-diff -r 61ab84082475 ircd/m_who.c
+diff -r 4677b599b0cc ircd/m_who.c
--- a/ircd/m_who.c
+++ b/ircd/m_who.c
@@ -389,6 +389,10 @@
&& ((!(matchsel & WHO_FIELD_SER))
|| (!(HasFlag(cli_user(acptr)->server, FLAG_MAP))))
&& ((!(matchsel & WHO_FIELD_HOS))
-diff -r 61ab84082475 ircd/s_auth.c
+diff -r 4677b599b0cc ircd/s_auth.c
--- a/ircd/s_auth.c
+++ b/ircd/s_auth.c
@@ -232,6 +232,7 @@
return 1;
}
-diff -r 61ab84082475 ircd/s_conf.c
+diff -r 4677b599b0cc ircd/s_conf.c
--- a/ircd/s_conf.c
+++ b/ircd/s_conf.c
@@ -647,8 +647,8 @@
realname = cli_info(cptr);
assert(strlen(host) <= HOSTLEN);
-diff -r 61ab84082475 ircd/s_misc.c
+diff -r 4677b599b0cc ircd/s_misc.c
--- a/ircd/s_misc.c
+++ b/ircd/s_misc.c
@@ -399,7 +399,7 @@