Anope IRC Services

Anope Development => Modules => Topic started by: DragonRyder on January 13, 2009, 07:45:57 PM

Title: update for ns_checkemailonregister
Post by: DragonRyder on January 13, 2009, 07:45:57 PM
this is the old module:

NS_CheckEmailOnRegister (http://www.anope.org/modules/ns_checkemailonregister.c)

wondering if it can be updated for use on both Anope-1.7.21 & Anope-1.8.0

Thanks in advance.

Ryu
Title: Re: update for ns_checkemailonregister
Post by: katsklaw on January 14, 2009, 03:39:32 AM
os_blacklistemail is more flexible, but it's also old and not sure if it'll work on newer versions. However, it's not static. addresses can be added on-the-fly

http://www.anope.org/modules/os_blacklistemail.c
Title: Re: update for ns_checkemailonregister
Post by: LEthaLity on January 14, 2009, 04:06:31 AM
I don't think the os_blacklistemail one works for 1.8, compiles ok, but get mysql error on modload.
Title: Re: update for ns_checkemailonregister
Post by: katsklaw on January 14, 2009, 05:08:21 AM
I don't think the os_blacklistemail one works for 1.8, compiles ok, but get mysql error on modload.

that's likely because it requires mysql and you don't have it compiled for anope.
Title: Re: update for ns_checkemailonregister
Post by: DragonRyder on January 14, 2009, 06:04:04 PM
is it possible to remake the module so that it doesn't use mysql - as not all networks like using mysql for modules.
Title: Re: update for ns_checkemailonregister
Post by: LEthaLity on January 14, 2009, 06:23:33 PM
lol im one of the rare people who do actually use mysql though, never knew of this module but if it did work in way it says it would be really good.
Title: Re: update for ns_checkemailonregister
Post by: katsklaw on January 16, 2009, 03:50:13 AM
lol im one of the rare people who do actually use mysql though, never knew of this module but if it did work in way it says it would be really good.

It does work exactly as it says. The question is, does it work on your version of Anope.
Title: Re: update for ns_checkemailonregister
Post by: Scott Garron on February 19, 2012, 03:26:55 AM
Resurrecting this post as well as the os_blacklistemail module.  I'm replying to the post in case someone comes across it in a search.

I originally wrote the module in 2005, stopped using it in 2008, and then never bothered to so much as look at it again until a few days ago when someone was behaving in a manner on my network that would have made it useful to have.

I've "released" an untested, interim version (1.0.6) that's exactly the same as it was in the past except that it compiles against Anope 1.8.x.  The only "change" is a fix for an obscure (potential crash) bug that may have been triggered when debug mode is turned on (/operserv set debug on) and someone tried to register a nickname.  This version still requires MySQL.  I'm working on the next version that will have a few new features as well as an entire storage subsystem to work on networks that don't use/want to use MySQL.

The interim 1.0.6 version can be found at

http://www.anthrochat.net/anopemodules/

The completely volatile, always changing, development version (1.1.x) can also be found there, but keep in mind that until the version reads "1.2.0", consider it highly experimental, prone to crashes, and missing whole parts of its functionality.  As of this writing, for example, it is missing the entire disk storage subsystem, so you need to manually add every blacklisted domain any time the module is loaded (ie. when services restarts).  A couple of useful features have been added and are functioning (with limited, basic testing), so you can look forward to using those in the release version.  The features include:

List users by e-mail, searchable with regular expressions
Set a "max limit" per domain in the blacklist, in cases where you may want to allow only a few registrations from one domain (instead of blacklisting it entirely)

Once 1.2.0 is ready, I'll submit it to the official modules site as well as the above-mentioned location.