From: NurPech Date: Mon, 22 Apr 2013 20:07:55 +0000 (+0200) Subject: Signed-off-by: NurPech X-Git-Url: http://git.pk910.de/?p=ZNCAdmin.git;a=commitdiff_plain;h=bba88abe71fc42f908e82907504d9097a85a2461 Signed-off-by: NurPech --- 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); } }