X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fnetfilter%2Fserv_netfilter.c;h=a75576948f99c53abf65ce0173f5b9d3f486079a;hb=12548e7dfeb98737d9bddc108212639dcef36fac;hp=026df8ffcca465983e3fad3a8ea460583b6f6ef4;hpb=84a0666848ccbea920f0bd398baf149c1a12ea74;p=citadel.git diff --git a/citadel/modules/netfilter/serv_netfilter.c b/citadel/modules/netfilter/serv_netfilter.c index 026df8ffc..a75576948 100644 --- a/citadel/modules/netfilter/serv_netfilter.c +++ b/citadel/modules/netfilter/serv_netfilter.c @@ -1,9 +1,21 @@ /* - * $Id$ - * * A server-side module for Citadel designed to filter idiots off the network. * - * Copyright (c) 2002 / released under the GNU General Public License + * Copyright (c) 2002-2009 by the citadel.org team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "sysdep.h" @@ -37,9 +49,7 @@ #include "support.h" #include "config.h" #include "control.h" -#include "room_ops.h" #include "user_ops.h" -#include "policy.h" #include "database.h" #include "msgbase.h" #include "serv_network.h" /* Needed for defenition of FilterList */ @@ -54,7 +64,7 @@ * is found, the message is rejected. */ int filter_the_idiots(struct CtdlMessage *msg, char *target_room) { - struct FilterList *fptr; + FilterList *fptr; int zap_user = 0; int zap_room = 0; int zap_node = 0; @@ -112,6 +122,6 @@ CTDL_MODULE_INIT(netfilter) CtdlRegisterNetprocHook(filter_the_idiots); } - /* return our Subversion id for the Log */ - return "$Id$"; + /* return our module name for the log */ + return "netfilter"; }