diff options
author | kongr45gpen <electrovesta@gmail.com> | 2017-05-18 03:20:12 +0300 |
---|---|---|
committer | kongr45gpen <electrovesta@gmail.com> | 2017-05-18 03:20:12 +0300 |
commit | e350d277690773bf0cca5da00718a73262d69149 (patch) | |
tree | 6f0d04510cfdb7adf2a7ccc02f7ecdaf754ba59c /config.py | |
parent | ec80993f8f076874eb346cbf7c43dbd9301ac1e1 (diff) | |
download | supybot_github-e350d277690773bf0cca5da00718a73262d69149.tar.gz supybot_github-e350d277690773bf0cca5da00718a73262d69149.tar.bz2 supybot_github-e350d277690773bf0cca5da00718a73262d69149.zip |
Add support for specifying the maximum commit count
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -93,4 +93,7 @@ conf.registerChannelValue(Github, 'alwaysShowForcedPushes', registry.Boolean(True, """Whether to always show force-pushes, even if hidePush is set to True""")) +conf.registerChannelValue(Github, 'maxCommitCount', + registry.Integer(7, + """The maximum number of commits to show (0 to disable)""")) # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: |