1
0
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:
codemastr
2004-01-11 15:38:24 +00:00
parent 11877f5270
commit 58d2882fb5
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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))
{