This commit is contained in:
Thomas Baruchel 2021-06-23 21:36:44 +02:00
parent d62c379b27
commit 4da09b3fb7
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ class Bot:
def __init__(self, cmd, initcmd = [], user=None):
if user: os.environ["USER"] = user
del os.environ["IRCSERVER"]
if os.environ["IRCSERVER"]: del os.environ["IRCSERVER"]
self.proc = subprocess.Popen(cmd,
stdin = subprocess.PIPE,