-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Ian Packer wrote: | Sunday, November 16, 2003, 7:52:06 PM, you wrote: | | ML> We're still getting some drones in Brazillian channels trying to exploit the | ML> DCC bug of mIRC.. would it be possible to create a channel mode for NOT | ML> allowing ctcp/dcc msgs to channels?? Some servers that derivated from | ML> bahamutt already do that.. like the brasnet.org servers... | | I suggest you take a look at: | http://cvs.quakenet.org/cgi-bin/cvsweb.cgi/asuka/patches/asuka-cC.patch?rev=1.9&content-type=text/x-cvsweb-markup | | Regards, | Ian Packer | |
+ if ((chptr->mode.mode & MODE_NOCTCP) && ircd_strncmp(text,"\001ACTION ",8)) + for (ch=text;*ch;) + if (*ch++==1) { + send_reply(sptr, ERR_CANNOTSENDTOCHAN, chptr->chname); + return; + }
Uhm, can't I still do:
PRIVMSG #chan :\001ACTION is broken\001\001VERSION\001
Jeff -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/t+ZXGi4Ni4h3f1YRAsWaAJ9JP3AiSlwJtRZ8LTB71GA638VRpgCfR0xA 1/Egv++9/ZeMEjxEurNjKh4= =fjTP -----END PGP SIGNATURE-----