]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_webirc.c
Removal of ancient SVN ID's part one
[irc/rqf/shadowircd.git] / extensions / m_webirc.c
index 1b5748e56cdcd4c0d286201be882427da226661b..fa3ad220f8cbce98826064adc196e25925244c0f 100644 (file)
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_webirc.c 3458 2007-05-18 19:51:22Z jilles $
  */
 /* Usage:
  * 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 +66,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 +90,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");