mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 00:23:13 +02:00
Made it so chg* commands are not logged from services
This commit is contained in:
@@ -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