mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-29 14:32:25 +01:00
Index: Changes
=================================================================== RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v retrieving revision 1.1.1.1.2.1.2.1.2.156 diff -u -r1.1.1.1.2.1.2.1.2.156 Changes --- Changes 2000/08/01 17:27:52 1.1.1.1.2.1.2.1.2.156 +++ Changes 2000/08/02 14:55:29 @@ -496,3 +496,5 @@ - Added sendto_chanops_butone because of codemastr's laziness - Fixed a few +u bugs - Fixed a +I bug (yes another one) +- Changed channel.c so that when an opped non +q/+a Oper kicks a user who + is +q/+a it invokes an OperKick (patch by llthangel)
This commit is contained in:
parent
c9e4ba4c98
commit
dc1eb8bddf
2 changed files with 12 additions and 1 deletions
2
Changes
2
Changes
|
@ -496,3 +496,5 @@
|
|||
- Added sendto_chanops_butone because of codemastr's laziness
|
||||
- Fixed a few +u bugs
|
||||
- Fixed a +I bug (yes another one)
|
||||
- Changed channel.c so that when an opped non +q/+a Oper kicks a user who
|
||||
is +q/+a it invokes an OperKick (patch by llthangel)
|
||||
|
|
|
@ -3293,7 +3293,16 @@ int m_kick(cptr, sptr, parc, parv)
|
|||
if (is_chanprot(who, chptr)
|
||||
|| is_chanowner(who, chptr)
|
||||
|| IsServices(who))
|
||||
if (!IsULine(cptr, sptr) && who != sptr)
|
||||
if IsOper(sptr)
|
||||
{ /* IRCop kicking owner/prot */
|
||||
sendto_umode(UMODE_EYES,
|
||||
"*** OperKick [%s @ %s -> %s (%s)]",
|
||||
sptr->name,
|
||||
chptr->chname,
|
||||
who->name, comment);
|
||||
goto attack;
|
||||
}
|
||||
else if (!IsULine(cptr, sptr) && who != sptr)
|
||||
{
|
||||
sendto_one(sptr,
|
||||
":%s NOTICE %s :*** You cannot kick %s from %s because %s is channel protected",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue