mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 23:23:12 +02:00
- Made all ircops able to use +F (totally this time)
kd
This commit is contained in:
@@ -352,4 +352,4 @@
|
||||
- In ./Config it runs a quick test to see how many socket()s you can do
|
||||
- Fixed the double +cF notice on local connections exiting, ugly hack
|
||||
- Removed the last traces of unix sockets, flag 0x10 free now
|
||||
- Made all ircops able to use +F
|
||||
- Made all ircops able to use +F (totally this time)
|
||||
|
||||
@@ -4358,6 +4358,8 @@ int m_umode(cptr, sptr, parc, parv)
|
||||
if ((sptr->umodes & (UMODE_KIX)) && !(IsNetAdmin(sptr)
|
||||
|| IsTechAdmin(sptr)))
|
||||
sptr->umodes &= ~UMODE_KIX;
|
||||
if ((sptr->umodes & (UMODE_FCLIENT)) && !IsOper(sptr))
|
||||
sptr->umodes &= ~UMODE_FCLIENT;
|
||||
|
||||
/* Agents
|
||||
if ((sptr->umodes & (UMODE_AGENT)) && !(sptr->oflag & OFLAG_AGENT))
|
||||
@@ -4365,6 +4367,7 @@ int m_umode(cptr, sptr, parc, parv)
|
||||
if ((sptr->umodes & UMODE_HIDING) && !IsAnOper(sptr))
|
||||
sptr->umodes &= ~UMODE_HIDING;
|
||||
|
||||
|
||||
if ((sptr->umodes & UMODE_HIDING)
|
||||
&& !(sptr->oflag & OFLAG_INVISIBLE))
|
||||
sptr->umodes &= ~UMODE_HIDING;
|
||||
|
||||
Reference in New Issue
Block a user