Update
This commit is contained in:
parent
6cb7ff6550
commit
d62c379b27
|
@ -6,6 +6,7 @@ class Bot:
|
||||||
def __init__(self, cmd, initcmd = [], user=None):
|
def __init__(self, cmd, initcmd = [], user=None):
|
||||||
|
|
||||||
if user: os.environ["USER"] = user
|
if user: os.environ["USER"] = user
|
||||||
|
del os.environ["IRCSERVER"]
|
||||||
|
|
||||||
self.proc = subprocess.Popen(cmd,
|
self.proc = subprocess.Popen(cmd,
|
||||||
stdin = subprocess.PIPE,
|
stdin = subprocess.PIPE,
|
||||||
|
|
Loading…
Reference in New Issue