File: killop.hack

package info (click to toggle)
ircd 2.10.02-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,228 kB
  • ctags: 2,087
  • sloc: ansic: 29,122; makefile: 664; sh: 307; perl: 18
file content (11 lines) | stat: -rw-r--r-- 395 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- s_user.c.orig	Sun Mar  8 00:00:20 1998
+++ s_user.c	Sun Mar  8 00:11:15 1998
@@ -2574,7 +2574,7 @@
   }
 
   /* if the user is +k, prevent a kill from local user */
-  if (IsChannelService(acptr) && MyClient(sptr))
+  if ((IsChannelService(acptr) && MyClient(sptr)) || IsAnOper (acptr))
   {
     sendto_one(sptr, err_str(ERR_ISCHANSERVICE), me.name,
         parv[0], "KILL", acptr->name);