X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fngircd%2Flists.c;h=cde928f6bf9c0301b260d5fb25b1cf89b2dbfaca;hb=03628dbeaf40a9de34b3eb6d5bf6dd34eed8248c;hp=6a70d088db5fcb40c05c57597c02ad41299a76bb;hpb=c93d089736bdcfac111199573d249e21b9d71186;p=ngircd-alex.git diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 6a70d088..cde928f6 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -7,21 +7,21 @@ * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. - * - * Management of IRC lists: ban, invite, ... */ #include "portab.h" -static char UNUSED id[] = "$Id: lists.c,v 1.21 2007/01/29 21:13:26 fw Exp $"; +/** + * @file + * Management of IRC lists: ban, invite, etc. + */ #include "imp.h" #include #include "defines.h" #include "conn.h" -#include "client.h" #include "channel.h" #include "log.h" #include "match.h" @@ -88,7 +88,6 @@ Lists_Add(struct list_head *header, const char *Mask, bool OnlyOnce ) newelem->next = e; header->first = newelem; - LogDebug("Added \"%s\" to invite list", Mask); return true; } @@ -162,8 +161,8 @@ Lists_CheckDupeMask(const struct list_head *h, const char *Mask ) } -GLOBAL char * -Lists_MakeMask( char *Pattern ) +GLOBAL const char * +Lists_MakeMask(const char *Pattern) { /* This function generats a valid IRC mask of "any" string. This * mask is only valid until the next call to Lists_MakeMask(),