From 6fe2d8af973dfb0c81f513e56488e39a4eea2fbf Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 5 Mar 2011 17:23:22 -0500 Subject: Removed nickrequests, instead have unconfirmed registrations. Also made ns_resetpass allow remote-id to get past things such as kill immed. --- data/example.conf | 12 +++++++++--- data/mysql/tables.sql | 15 --------------- 2 files changed, 9 insertions(+), 18 deletions(-) (limited to 'data') diff --git a/data/example.conf b/data/example.conf index 243dcb725..c797a2f84 100644 --- a/data/example.conf +++ b/data/example.conf @@ -939,6 +939,12 @@ nickserv */ forceemail = yes + /* + * Require users who change their email address to confirm they + * own it. + */ + confirmemailchanges = no + /* * Require an e-mail to be sent to the user before they can register their nick. */ @@ -1018,12 +1024,12 @@ nickserv #forbidexpire = 90d /* - * The length of time a user gets to enter the confirmation code which has been e-mailed - * to them before the nick will be released for general use again. + * The length of time a user using an unconfirmed account has + * before the account will be released for general use again. * * This directive is only required if the e-mail registration option is enabled. */ - #preregexpire = 1d + #unconfirmedexpire = 1d /* * The maximum number of nicks allowed in a group. diff --git a/data/mysql/tables.sql b/data/mysql/tables.sql index 2cda6384e..b3cf06a00 100644 --- a/data/mysql/tables.sql +++ b/data/mysql/tables.sql @@ -290,21 +290,6 @@ CREATE TABLE IF NOT EXISTS `anope_ns_core_metadata` ( -- -------------------------------------------------------- --- --- Table structure for table `anope_ns_request` --- - -CREATE TABLE IF NOT EXISTS `anope_ns_request` ( - `nick` varchar(255) NOT NULL DEFAULT '', - `passcode` text NOT NULL, - `password` text NOT NULL, - `email` text NOT NULL, - `requested` int(10) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`nick`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - --- -------------------------------------------------------- - -- -- Table structure for table `anope_os_akills` -- -- cgit