diff --git a/plugins/Unix/plugin.py b/plugins/Unix/plugin.py index 8244c4860..1f0f6bd82 100644 --- a/plugins/Unix/plugin.py +++ b/plugins/Unix/plugin.py @@ -396,7 +396,7 @@ class Unix(callbacks.Plugin): will bring your machine to its knees. """ self.log.info('Unix: running command "%s" for %s/%s', text, msg.nick, - irc.network) + irc.network) args = shlex.split(text) try: with open(os.devnull) as null: @@ -428,7 +428,7 @@ class Unix(callbacks.Plugin): will bring your machine to its knees. """ self.log.info('Unix: running command "%s" for %s/%s', text, msg.nick, - irc.network) + irc.network) try: with open(os.devnull) as null: inst = subprocess.Popen(text,