Revert "ircd: Fix umode orphan scheme."
This reverts commit c1fc044c35
.
This commit is contained in:
parent
24b8fd0063
commit
a74ee5d2c7
1 changed files with 5 additions and 2 deletions
|
@ -1385,14 +1385,17 @@ construct_umodebuf(void)
|
|||
if (user_modes[i] == 0)
|
||||
{
|
||||
orphaned_umodes |= prev_user_modes[i];
|
||||
user_modes[i] = prev_user_modes[i];
|
||||
sendto_realops_snomask(SNO_DEBUG, L_ALL, "Umode +%c is now orphaned", i);
|
||||
}
|
||||
else
|
||||
{
|
||||
orphaned_umodes &= ~prev_user_modes[i];
|
||||
sendto_realops_snomask(SNO_DEBUG, L_ALL, "Orphaned umode +%c is picked up by module", i);
|
||||
}
|
||||
user_modes[i] = prev_user_modes[i];
|
||||
}
|
||||
else
|
||||
prev_user_modes[i] = user_modes[i];
|
||||
|
||||
if (user_modes[i])
|
||||
*ptr++ = (char) i;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue