diff options
author | Richard Darst <rkd@zgib.net> | 2009-09-05 02:18:56 (GMT) |
---|---|---|
committer | Richard Darst <rkd@zgib.net> | 2009-09-05 02:18:56 (GMT) |
commit | 1fd37b030165a3bbae5dc42d398441ecb15660d3 (patch) | |
tree | f8d7f203b03fa23dc88e5786b115c9ed01b0f891 /plugin.py | |
parent | f9f3fb0e0bc771931d476cab32dc0ee50e6eccc1 (diff) |
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
Diffstat (limited to 'plugin.py')
-rw-r--r-- | plugin.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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( |