1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 05:23:13 +02:00

Renamed FAKE_LAG_FOR_LOCOPS and made chanops override chmode +V

This commit is contained in:
codemastr
2004-01-17 20:13:48 +00:00
parent e406e0d99a
commit c07e1f96e1
4 changed files with 6 additions and 3 deletions
+3
View File
@@ -2728,3 +2728,6 @@ seen. gmtime warning still there
Requested by AngryWolf (#0001488)
- Added a patch by XeRXeS to log usage of some potentially abusive commands
(#0001397)
- Renamed "FAKE_LAG_FOR_LOCOPS" to "NO_FAKE_LAG_FOR_LOCOPS" since that's what it did
anyway, requested by Greg (#0001453)
- Made it so chan ops can invite in a +V channel. Requested by AI (#0001478)
+1 -1
View File
@@ -170,7 +170,7 @@
/*
* Enables locops to override the RFC1459 flood control too
*/
#undef FAKE_LAG_FOR_LOCOPS
#undef NO_FAKE_LAG_FOR_LOCOPS
/*
* HOSTILENAME - Define this if you want the hostile username patch included,
+1 -1
View File
@@ -5533,7 +5533,7 @@ CMD_FUNC(m_knock)
return 0;
}
if (chptr->mode.mode & MODE_NOINVITE)
if ((chptr->mode.mode & MODE_NOINVITE) && !is_chan_op(sptr, chptr))
{
sendto_one(sptr, err_str(ERR_CANNOTKNOCK),
me.name,
+1 -1
View File
@@ -177,7 +177,7 @@ void ban_flooder(aClient *cptr)
inline void parse_addlag(aClient *cptr, int cmdbytes)
{
if (!IsServer(cptr) &&
#ifdef FAKE_LAG_FOR_LOCOPS
#ifdef NO_FAKE_LAG_FOR_LOCOPS
!IsAnOper(cptr))
#else
!IsOper(cptr))