X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/f24b187a8e99de5bf94afd33785b86715bfefac9..24170ac312f9e042993a5377ed82769f4ae74e55:/extensions/m_webirc.c diff --git a/extensions/m_webirc.c b/extensions/m_webirc.c index 1b5748e..1ddb634 100644 --- a/extensions/m_webirc.c +++ b/extensions/m_webirc.c @@ -27,7 +27,7 @@ * auth { * user = "webirc@"; # if identd used, put ident username instead * 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");