mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 19:43:12 +02:00
Made it so chg* commands are not logged from services
This commit is contained in:
@@ -3119,3 +3119,4 @@ This is the 3.2 fixes branch.
|
||||
- Fixed a documentation typo reported by Konc
|
||||
- Fixed a little problem in ./unreal to move ircd.pid.bak to ircd.pid of starting failed.
|
||||
Fixed by fez (#0001739)
|
||||
- Made it so chg* command usage is not logged from U:lines. Reported by diskman1 (#0001718)
|
||||
|
||||
@@ -198,12 +198,12 @@ DLLFUNC int m_chghost(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
"%s changed the virtual hostname of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username,
|
||||
acptr->user->realhost, parv[2]);
|
||||
/* Logging added by XeRXeS */
|
||||
ircd_log(LOG_CHGCMDS,
|
||||
"CHGHOST: %s changed the virtual hostname of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username, acptr->user->realhost, parv[2]);
|
||||
}
|
||||
|
||||
/* Logging added by XeRXeS */
|
||||
ircd_log(LOG_CHGCMDS,
|
||||
"CHGHOST: %s changed the virtual hostname of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username, acptr->user->realhost, parv[2]);
|
||||
|
||||
acptr->umodes |= UMODE_HIDE;
|
||||
acptr->umodes |= UMODE_SETHOST;
|
||||
|
||||
@@ -201,13 +201,13 @@ int m_chgident(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
"%s changed the virtual ident of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username,
|
||||
GetHost(acptr), parv[2]);
|
||||
/* Logging ability added by XeRXeS */
|
||||
ircd_log(LOG_CHGCMDS,
|
||||
"CHGIDENT: %s changed the virtual ident of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username,
|
||||
GetHost(acptr), parv[2]);
|
||||
}
|
||||
|
||||
/* Logging ability added by XeRXeS */
|
||||
ircd_log(LOG_CHGCMDS,
|
||||
"CHGIDENT: %s changed the virtual ident of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username,
|
||||
GetHost(acptr), parv[2]);
|
||||
|
||||
|
||||
sendto_serv_butone_token(cptr, sptr->name,
|
||||
|
||||
@@ -176,13 +176,13 @@ DLLFUNC int m_chgname(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
"%s changed the GECOS of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username,
|
||||
GetHost(acptr), parv[2]);
|
||||
/* Logging ability added by XeRXeS */
|
||||
ircd_log(LOG_CHGCMDS,
|
||||
"CHGNAME: %s changed the GECOS of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username,
|
||||
GetHost(acptr), parv[2]);
|
||||
}
|
||||
|
||||
/* Logging ability added by XeRXeS */
|
||||
ircd_log(LOG_CHGCMDS,
|
||||
"CHGNAME: %s changed the GECOS of %s (%s@%s) to be %s",
|
||||
sptr->name, acptr->name, acptr->user->username,
|
||||
GetHost(acptr), parv[2]);
|
||||
|
||||
sendto_serv_butone_token(cptr, sptr->name,
|
||||
MSG_CHGNAME, TOK_CHGNAME, "%s :%s", acptr->name, parv[2]);
|
||||
|
||||
Reference in New Issue
Block a user