]> 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 1b92ff018fc67e917805b7fef1d37a409190c302..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:
@@ -91,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");