Page MenuHomeDevCentral

D876.id2227.diff
No OneTemporary

D876.id2227.diff

diff --git a/docs/SETUP b/docs/SETUP
--- a/docs/SETUP
+++ b/docs/SETUP
@@ -200,22 +200,6 @@
addressing the bot?
-PARAMATER ALLOW_ADD_IN_MSG
-DEFAULT false
-TYPE Boolean
-
-Turn this on if you want to be able to use the ADD function in private
-message to the bot.
-
-
-PARAMATER ALLOW_DEL_IN_MSG
-DEFAULT false
-TYPE Boolean
-
-Turn this on if you want to be able to use the DEL function in private
-message to the bot.
-
-
PARAMATER MSG_RESPONSES
DEFAULT false
TYPE Boolean
diff --git a/docs/WHATSNEW b/docs/WHATSNEW
--- a/docs/WHATSNEW
+++ b/docs/WHATSNEW
@@ -4,7 +4,10 @@
Support: http://darkbot.sourceforge.net
(order is reverse-chronologic)
*******************************************************
-
+
+Unreleased:
+
+ - Pruned ALLOW_ADD_IN_MSG and ALLOW_DEL_IN_MSG
Darkbot 8rc4: May 13, 2009
- Fixed DIE, NICK, METAR, PART, RANDQ, RANDQ2, RDB, STATS, TAR,
diff --git a/source/vars.h b/source/vars.h
--- a/source/vars.h
+++ b/source/vars.h
@@ -149,8 +149,6 @@
extern bool FIND_DUPS;
extern bool SAVE_DUPS;
extern bool GENERAL_QUESTIONS;
-extern bool ALLOW_ADD_IN_MSG;
-extern bool ALLOW_DEL_IN_MSG;
extern bool MSG_RESPONSES;
extern bool LOG_ADD_DELETES;
diff --git a/source/vars.c b/source/vars.c
--- a/source/vars.c
+++ b/source/vars.c
@@ -154,8 +154,6 @@
bool FIND_DUPS = false;
bool SAVE_DUPS = true;
bool GENERAL_QUESTIONS = true;
-//bool ALLOW_ADD_IN_MSG = false;
-//bool ALLOW_DEL_IN_MSG = false;
bool MSG_RESPONSES = false;
bool LOG_ADD_DELETES = true;
@@ -265,9 +263,6 @@
struct setup_parameter parameters[] =
{
-// I managed to eliminate these options when I rewrote chansrv.c.
-// {ST_BOOLEAN, 3, sizeof(ALLOW_ADD_IN_MSG), {"ALLOW_ADD_IN_MSG", NULL, NULL, NULL, NULL}, "allowing ADD command in private", &ALLOW_ADD_IN_MSG, NULL},
-// {ST_BOOLEAN, 3, sizeof(ALLOW_DEL_IN_MSG), {"ALLOW_DEL_IN_MSG", NULL, NULL, NULL, NULL}, "allowing DEL command in private", &ALLOW_DEL_IN_MSG, NULL},
{ST_BOOLEAN, 3, sizeof(ANTI_IDLE), {"ANTI_IDLE", NULL, NULL, NULL, NULL}, "idling for less than ten minutes", &ANTI_IDLE, NULL},
#ifdef ENABLE_CHANNEL
{ST_BOOLEAN, 3, sizeof(BITCH_ABOUT_DEOP), {"BITCH_DEOP", NULL, NULL, NULL, NULL}, "bitch about deop", &BITCH_ABOUT_DEOP, NULL},

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 08:28 (20 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260209
Default Alt Text
D876.id2227.diff (2 KB)

Event Timeline