]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/lists.c
ngircd-test2.conf: really disable Ident and PAM ...
[ngircd-alex.git] / src / ngircd / lists.c
index 6a70d088db5fcb40c05c57597c02ad41299a76bb..58c5d160df0913199c98547973a48cc97a4f69f0 100644 (file)
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: lists.c,v 1.21 2007/01/29 21:13:26 fw Exp $";
-
 #include "imp.h"
 #include <assert.h>
 
 #include "defines.h"
 #include "conn.h"
-#include "client.h"
 #include "channel.h"
 #include "log.h"
 #include "match.h"
@@ -88,7 +85,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 +158,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(),