From 1fd37b030165a3bbae5dc42d398441ecb15660d3 Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Sat, 05 Sep 2009 02:18:56 +0000 Subject: Add safeMode to the Config class, also doc changes - safeMode is a variable not designed to be user set which enables a "recovery mode". With this mode, MeetBot will try harder to not let exceptions propogate and have a command fail. - This is good for live meetings, where failure means it loses data. - This is not good for interactive command usage (like replaying logs), since if it breaks you will notice it immediately and can re-run it. - As such, safe mode is by default off, except when run from the supybot plugin where it defaults to on. - Some misc doc changes, in the comments in the Config class. darcs-hash:20090905021856-82ea9-f35a0e382faf274a7f834315cd6fcd9079524ed4.gz --- (limited to 'plugin.py') diff --git a/plugin.py b/plugin.py index e87a409..c1b3518 100644 --- a/plugin.py +++ b/plugin.py @@ -103,6 +103,7 @@ class MeetBot(callbacks.Plugin): writeRawLog=True, setTopic = _setTopic, sendReply = _sendReply, getRegistryValue = self.registryValue, + safeMode=True ) meeting_cache[Mkey] = M recent_meetings.append( -- cgit v0.9.1