diff --git a/scripts/supybot-wizard b/scripts/supybot-wizard index 8cf682386..c32c49737 100755 --- a/scripts/supybot-wizard +++ b/scripts/supybot-wizard @@ -29,6 +29,8 @@ # POSSIBILITY OF SUCH DAMAGE. ### +__revision__ = "$Id$" + import os import sys @@ -574,6 +576,8 @@ def main(): ### # Write the registry ### + conf.supybot.debug.generated.setValue('%s; %s' % + (__revision__, time.ctime())) if not filename: filename = '%s.conf' % nick registry.close(conf.supybot, filename) diff --git a/src/conf.py b/src/conf.py index edbb72cda..ed329a578 100644 --- a/src/conf.py +++ b/src/conf.py @@ -184,6 +184,7 @@ registerGlobalValue(supybot, 'user', registry.String('Supybot %s' % version, """Determines the user the bot sends to the server.""")) +class Networks(registry.SpaceSeparatedSetOfStrings): registerGlobalValue(supybot, 'networks', registry.SpaceSeparatedSetOfStrings([], """Determines what networks the bot will connect to.""")) @@ -778,5 +779,9 @@ registerGlobalValue(supybot.debug, 'flushVeryOften', registry.Boolean(False, """Determines whether the bot will automatically flush all flushers *very* often. Useful for debugging when you don't know what's breaking or when, but think that it might be logged.""")) +registerGlobalValue(supybot.debug, 'generated', + registry.String('$Id$; %s' % time.ctime(), """Determines when this + configuration file was generated; it should be modified by + supybot-wizard""")) # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: