- Got rid of qline notice that could happen if using services holds (semi-race condition),

reported by tabrisnet ().
This commit is contained in:
Bram Matthys 2006-06-06 22:57:07 +00:00
parent 0a9cf5420e
commit 7369f15b40
2 changed files with 3 additions and 1 deletions
Changes
src/modules

View file

@ -1244,3 +1244,5 @@
- Updated list of donators
** 3.2.5-rc2 release **
- Updated release notes, bleh.. I forgot :P
- Got rid of qline notice that could happen if using services holds (semi-race condition),
reported by tabrisnet (#0002950).

View file

@ -270,7 +270,7 @@ DLLFUNC CMD_FUNC(m_nick)
acptrs ? acptrs->name : "unknown server");
}
if (IsServer(cptr) && IsPerson(sptr)) /* remote user changing nick */
if (IsServer(cptr) && IsPerson(sptr) && !ishold) /* remote user changing nick */
{
sendto_snomask(SNO_QLINE, "Q:lined nick %s from %s on %s", nick,
sptr->name, sptr->srvptr ? sptr->srvptr->name : "<unknown>");