1
0
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:
stskeeps
2000-06-07 19:30:41 +00:00
parent 7e3d2d8ea7
commit 422dbf746f
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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)
+3
View File
@@ -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;