]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_webirc.c
Add some ircd-seven love to CREDITS.
[irc/rqf/shadowircd.git] / extensions / m_webirc.c
index 1b5748e56cdcd4c0d286201be882427da226661b..1ddb63496a85b3190da818fe07013698a388b8a4 100644 (file)
@@ -27,7 +27,7 @@
  * auth {
  *   user = "webirc@<cgiirc ip>"; # if identd used, put ident username instead
  *   password = "<password>"; # encryption possible
- *   spoof = "webirc."
+ *   spoof = "webirc.";
  *   class = "users";
  * };
  * Possible flags:
@@ -67,7 +67,6 @@ DECLARE_MODULE_AV1(webirc, NULL, NULL, webirc_clist, NULL, NULL, "$Revision: 207
 
 /*
  * mr_webirc - webirc message handler
- *      parv[0] = sender prefix
  *      parv[1] = password
  *      parv[2] = fake username (we ignore this)
  *     parv[3] = fake hostname 
@@ -92,7 +91,7 @@ mr_webirc(struct Client *client_p, struct Client *source_p, int parc, const char
                                client_p->localClient->ip.ss_family, NULL);
        if (aconf == NULL || !(aconf->status & CONF_CLIENT))
                return 0;
-       if (!IsConfDoSpoofIp(aconf) || irccmp(aconf->name, "webirc."))
+       if (!IsConfDoSpoofIp(aconf) || irccmp(aconf->info.name, "webirc."))
        {
                /* XXX */
                sendto_one(source_p, "NOTICE * :Not a CGI:IRC auth block");