X-Git-Url: http://git.pk910.de/?p=ZNCAdmin.git;a=blobdiff_plain;f=zncadmin%2FZNCServer.class.php;h=21d134bcf81281fe20c78799168ec8977a87a410;hp=fdf3c1e02daa86fc6f9c6cfb4c3bc20f01eea5ee;hb=bba88abe71fc42f908e82907504d9097a85a2461;hpb=5b22ae7953aac66f146f7d209b86f1e28e2d23c1 diff --git a/zncadmin/ZNCServer.class.php b/zncadmin/ZNCServer.class.php index fdf3c1e..21d134b 100644 --- a/zncadmin/ZNCServer.class.php +++ b/zncadmin/ZNCServer.class.php @@ -381,7 +381,7 @@ class ZNCServer { $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); } }