Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log account changes as join, not mode console level. #1696

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mod/irc.mod/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ static void setaccount(char *nick, char *account)
/* account was known */
if (m->account[0]) {
if (!strcmp(account, "*")) {
putlog(LOG_MODES, chan->dname, "%s!%s has logged out of their account", nick, m->userhost);
putlog(LOG_JOIN, chan->dname, "%s!%s has logged out of their account", nick, m->userhost);
} else {
putlog(LOG_MODES, chan->dname, "%s!%s logged in to their account %s", nick, m->userhost, account);
putlog(LOG_JOIN, chan->dname, "%s!%s logged in to their account %s", nick, m->userhost, account);
}
check_tcl_account(m->nick, m->userhost, get_user_from_member(m), chan->dname, account);
}
Expand Down
Loading