1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 01:06:38 +02:00

sendto_ops is SNO_SNOTICE now

This commit is contained in:
griever
2002-01-15 04:27:14 +00:00
parent 587f4c4281
commit f65e857d4e
3 changed files with 10 additions and 21 deletions
+2 -18
View File
@@ -72,6 +72,7 @@ int sno_mask[] = {
SNO_TKL, 'G',
SNO_NICKCHANGE, 'n',
SNO_QLINE, 'q',
SNO_SNOTICE, 's',
0, 0
};
@@ -2095,24 +2096,7 @@ void set_snomask(aClient *sptr, char *snomask) {
}
}
if (!IsAnOper(sptr)) {
if (sptr->user->snomask & SNO_CLIENT)
sptr->user->snomask &= ~SNO_CLIENT;
if (sptr->user->snomask & SNO_FCLIENT)
sptr->user->snomask &= ~SNO_FCLIENT;
if (sptr->user->snomask & SNO_FLOOD)
sptr->user->snomask &= ~SNO_FLOOD;
if (sptr->user->snomask & SNO_JUNK)
sptr->user->snomask &= ~SNO_JUNK;
if (sptr->user->snomask & SNO_EYES)
sptr->user->snomask &= ~SNO_EYES;
if (sptr->user->snomask & SNO_VHOST)
sptr->user->snomask &= ~SNO_VHOST;
if (sptr->user->snomask & SNO_TKL)
sptr->user->snomask &= ~SNO_TKL;
if (sptr->user->snomask & SNO_NICKCHANGE)
sptr->user->snomask &= ~SNO_NICKCHANGE;
if (sptr->user->snomask & SNO_QLINE)
sptr->user->snomask &= ~SNO_QLINE;
sptr->user->snomask &= (SNO_NONOPERS);
}
}