projects
/
ZNCAdmin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Signed-off-by: NurPech <nurpech@nurpech.de>
[ZNCAdmin.git]
/
zncadmin
/
ZNCServer.class.php
diff --git
a/zncadmin/ZNCServer.class.php
b/zncadmin/ZNCServer.class.php
index fdf3c1e02daa86fc6f9c6cfb4c3bc20f01eea5ee..21d134bcf81281fe20c78799168ec8977a87a410 100644
(file)
--- a/
zncadmin/ZNCServer.class.php
+++ b/
zncadmin/ZNCServer.class.php
@@
-381,7
+381,7
@@
class ZNCServer {
$post['defmodes'] = '';
$post['save'] = 'true';
$post['autoclearchanbuffer'] = 'true';
$post['defmodes'] = '';
$post['save'] = 'true';
$post['autoclearchanbuffer'] = 'true';
- $this->connector->post("http://".$this->host.":".$this->port."/mods/global/webadmin/addchan?user=".$username, $post);
+ $this->connector->post("http://".$this->host.":".$this->port."/mods/global/webadmin/addchan?user=".$username
.'&network=default'
, $post);
}
}
}
}