diff --git a/Changes b/Changes index 5d15ac317..8fc473246 100644 --- a/Changes +++ b/Changes @@ -1875,3 +1875,4 @@ seen. gmtime warning still there - Documentation updates for nodnscache. - Fixed minor memleak with zip links. - Code cleanup in m_umode +- Fixed bug in ISON diff --git a/src/s_user.c b/src/s_user.c index 6dfde6e1c..942c5b34e 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -2129,7 +2129,7 @@ CMD_FUNC(m_ison) { strcpy(namebuf, acptr->user->username); strcat(namebuf, "@"); - strcat(namebuf, acptr->user->realhost); + strcat(namebuf, IsHidden(acptr) ? acptr->user->virhost : acptr->user->realhost); if (match(user, namebuf)) continue; *--user = '!';