+2005-06-01 Clinton Ebadi <clinton@unknownlamer.org>
+
+ * source/Interp.C (interp_init_helper): Added
+ bot:protection/[none|ban|kick|deop] constants to Scheme
+ (interp_init_helper): Added bot:aop/[yes|no] constants
+
2005-05-31 Clinton Ebadi <clinton@unknownlamer.org>
+ * configure.ac: Release Bobot++ 2.1.7
+ Changed version to 2.18.CVS
+
* source/UserList.C (save): Remove workaround for BUG #2
* source/Parser.C (parse001): make realNick lowercase when doing
====== The News =====================================================
=====================================================================
+Version 2.1.8:
+
+- Added bot:protection/[none|ban|kick|deop] and bot:aop/[yes|no]
+ constants to the Scheme scripting interface
+
Version 2.1.7:
- Fixed a number of small bugs and corner cases
- Should compile without warnings (GCC 3.4)
* Abstract DCC support so that DCC FILE may be easily implemented
* Wrote config database class
* Compile without warnings
+* bot:protection/[none|no-ban|no-kick|no-deop] constants
+* bot:aop/[no|yes] constants
2.2:
* Finish Texinfo manual
(e.g. bot:send-CTCP to send a CTCP message)
* Add util functions for doing stuff like quoting CTCP messages
* Finish adding hooks/send hooks
-* bot:protection/[none|no-ban|no-kick|no-deop] constants
-* bot:aop/[no|yes] constants
* Add DCC_CHAT_END hook for Scheme
2.4:
dnl Process this file with autoconf to produce a configure script.
AC_PRERQ(2.50)
-AC_INIT([Bobot++], [2.1.6CVS], [clinton@unknownlamer.org], [bobotpp])
+AC_INIT([Bobot++], [2.1.8CVS], [clinton@unknownlamer.org], [bobotpp])
AC_LANG([C++])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
scm_c_define ("bot:user-trusted", scm_long2num (User::TRUSTED_USER));
scm_c_define ("bot:user-friend", scm_long2num (User::FRIEND));
scm_c_define ("bot:user-master", scm_long2num (User::MASTER));
+
+ // protection
+ scm_c_define ("bot:protection/none", scm_long2num (User::NO_PROT));
+ scm_c_define ("bot:protection/no-ban", scm_long2num (User::NO_BAN));
+ scm_c_define ("bot:protection/no-kick", scm_long2num (User::NO_KICK));
+ scm_c_define ("bot:protection/no-deop", scm_long2num (User::NO_DEOP));
+
+ // auto-op
+ scm_c_define ("bot:aop/yes", scm_long2num (true));
+ scm_c_define ("bot:aop/no", scm_long2num (false));
+
// sys-dir
scm_c_define ("bot:sys-scripts-dir",
scm_makfrom0str (String(PREFIX) +
scm_c_define_gsubr ("bot:addshit", 3, 2, 0,
(SCMFunc)ScriptCommands::AddShit);
bot_new_procedure ("bot:ban", (SCMFunc)ScriptCommands::Action, 2, 0, 0);
- bot_new_procedure ("bot:change-command-level", (SCMFunc)ScriptCommands::ChangeCommandLevel,
+ bot_new_procedure ("bot:change-command-level",
+ (SCMFunc)ScriptCommands::ChangeCommandLevel,
2, 0, 0);
bot_new_procedure ("bot:cycle", (SCMFunc)ScriptCommands::Action, 1, 0, 0);
bot_new_procedure ("bot:deban", (SCMFunc)ScriptCommands::Deban, 2, 0, 0);