]> jfr.im git - solanum.git/blobdiff - extensions/extb_realname.c
callerid: actually the guard should be for source_p
[solanum.git] / extensions / extb_realname.c
index 9d221097321c91503fe13b08e144156b71ddfa10..eed8a807854c8234beda4cd48616a1c243acd4db 100644 (file)
@@ -1,8 +1,6 @@
 /*
  * Realname extban type: bans all users with matching gecos
  * -- jilles
- *
- * $Id: extb_realname.c 1299 2006-05-11 15:43:03Z jilles $
  */
 
 #include "stdinc.h"
 #include "client.h"
 #include "ircd.h"
 
+static const char extb_desc[] = "Realname/GECOS ($r) extban type";
+
 static int _modinit(void);
 static void _moddeinit(void);
 static int eb_realname(const char *data, struct Client *client_p, struct Channel *chptr, long mode_type);
 
-DECLARE_MODULE_AV1(extb_realname, _modinit, _moddeinit, NULL, NULL, NULL, "$Revision: 1299 $");
+DECLARE_MODULE_AV2(extb_realname, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, extb_desc);
 
 static int
 _modinit(void)