[IRCServices] AKILL *@* Lame IRCops Protection.

Jozenobio de Melo Brasil jozeph at globalmedia.com.br
Fri Oct 1 06:34:30 PDT 1999


Hi All,

	I has maked a good protection for services if lame ircops try
akill *@*... this protection can be used on akick too.

	Thanks all... :)

        /* Lame IRCops Protection by Jozeph'99 */
        if (s) {
            s++;
            i = 0;
                while (*s) {
                    if (*s != '*' && *s != '.')
                        i++;
                        s++;
                }
                if (i<4) {
                    wallops(s_OperServ, "%s tried to akill add %s!",
                            u->nick, mask);
                        return;
                }
        }
        /* End Lame IRCops Protection */


--
--------------------------------------------------------------------
 \|/ --- \|/   | Jozenóbio de Melo Brasil.
  @~/ Oo \~@   | jozeph at globalmedia.com.br
 /_( \__/ )_\  | http://www.globalmedia.com.br/jozeph
    \__U_/     | " Onde a maioria vive com a bondade,
               |  a maldade da minoria tende sempre a desaparecer! "
--------------------------------------------------------------------
The box said "Windows 95, Windows NT 4.0, or better", so I installed
Linux.

---------------------------------------------------------------
To unsubscribe, send email to majordomo at ender.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.