-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I added this with only one or two lines in one function.
Edit: Here is a diff:
diff --git a/plugin.py b/plugin.py
index b85389b..742f205 100644
--- a/plugin.py
+++ b/plugin.py
@@ -29,6 +29,7 @@ from supybot.commands import *
import supybot.plugins as plugins
import supybot.ircmsgs as ircmsgs
import supybot.ircutils as ircutils
+import supybot.ircdb as ircdb
import supybot.callbacks as callbacks
import supybot.schedule as schedule
import supybot.log as log
@@ -389,6 +390,8 @@ class Git(callbacks.PluginRegexp):
def _display_commits(self, irc, channel, repository, commits):
"Display a nicely-formatted list of commits in a channel."
+ if ircdb.channels.getChannel(channel).lobotomized:
+ return
commits = list(commits)
commits_at_once = self.registryValue('maxCommitsAtOnce')
if len(commits) > commits_at_once:Metadata
Metadata
Assignees
Labels
No labels