mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 17:53:14 +02:00
Fixed a /kick bug
This commit is contained in:
@@ -2705,3 +2705,4 @@ seen. gmtime warning still there
|
||||
- Fixed a problem caused by the previous change
|
||||
- Fixed some compile warnings
|
||||
- Made CmodeAdd set MODERR_NOERROR when no error occurs (#0001484) reported by AngryWolf
|
||||
- Fixed a bug in /kick reported by rav2k (#0001490)
|
||||
|
||||
+2
-1
@@ -4146,7 +4146,8 @@ CMD_FUNC(m_kick)
|
||||
if (check_channelmask(sptr, cptr, name))
|
||||
continue;
|
||||
/* Store "sptr" access flags */
|
||||
sptr_flags = get_access(sptr, chptr);
|
||||
if (IsPerson(sptr))
|
||||
sptr_flags = get_access(sptr, chptr);
|
||||
if (!IsServer(cptr) && !IsULine(sptr) && !op_can_override(sptr)
|
||||
&& !(sptr_flags & CHFL_ISOP) && !(sptr_flags & CHFL_HALFOP))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user