diff --git a/plugins/Debian.py b/plugins/Debian.py index e432031f9..10b300ee3 100644 --- a/plugins/Debian.py +++ b/plugins/Debian.py @@ -66,7 +66,7 @@ def configure(advanced): to run the file command. I'll disable this command now. When you get zegrep in your path, use the command "enable file" to re-enable the command.""") - conf.supybot.defaultCapabilities().add('Debian.file') + conf.supybot.defaultCapabilities().add('-Debian.file') else: output("""I can't find zegrep in your path. If you want to run the file command with any sort of expediency, you'll @@ -77,7 +77,7 @@ def configure(advanced): conf.supybot.plugins.Debian.pythonZegrep.setValue(True) else: output('I\'ll disable file now.') - conf.supybot.defaultCapabilities().add('Debian.file') + conf.supybot.defaultCapabilities().add('-Debian.file') conf.registerPlugin('Debian') conf.registerGlobalValue(conf.supybot.plugins.Debian, 'pythonZegrep', diff --git a/plugins/Unix.py b/plugins/Unix.py index 90b00485a..e8e9268a0 100644 --- a/plugins/Unix.py +++ b/plugins/Unix.py @@ -65,14 +65,14 @@ def configure(advanced): function of this module will not work. You may choose to install it later. To re-enable this command then, remove the "disable spell" line from your configuration file.""") - conf.supybot.defaultCapabilities().add('Unix.spell') + conf.supybot.defaultCapabilities().add('-Unix.spell') fortuneCmd = utils.findBinaryInPath('fortune') if not fortuneCmd: output("""NOTE: I couldn't find fortune in your path, so that function of this module will not work. You may choose to install it later. To re-enable this command then, remove the '"disable fortune" command from your configuration file.""") - conf.supybot.defaultCapabilities().add('Unix.fortune') + conf.supybot.defaultCapabilities().add('-Unix.fortune') wtfCmd = utils.findBinaryInPath('wtf') if not wtfCmd: output("""NOTE: I couldn't find wtf in your path, so that function of @@ -80,14 +80,14 @@ def configure(advanced): to re-enable this command then, remove the "disable wtf" command from your configuration file or simply tell the bot "enable wtf" instead.""") - conf.supybot.defaultCapabilities().add('Unix.wtf') + conf.supybot.defaultCapabilities().add('-Unix.wtf') output("""The "progstats" command can reveal potentially sensitive information about your machine. Here's an example of its output: %s\n""" % progstats()) if yn('Would you like to disable this command for non-owner users?', default=True): - conf.supybot.defaultCapabilities().add('Unix.progstats') + conf.supybot.defaultCapabilities().add('-Unix.progstats') def progstats(): pw = pwd.getpwuid(os.getuid())