Browse Source

Remove RehashServ's flags on channel register

Nathaniel van Diepen 10 years ago
parent
commit
7f8b9f3d06
1 changed files with 2 additions and 1 deletions
  1. 2 1
      site/api/index.php

+ 2 - 1
site/api/index.php

@@ -196,7 +196,8 @@
 			}
 			$ret2 = irccommands(array(
 				'join '.$_GET['channel'],
-				'cs set '.$_GET['channel'].' founder '.$_COOKIE['user']
+				'cs set '.$_GET['channel'].' founder '.$_COOKIE['user'],
+				'cs flags '.$_GET['channel'].' RehashServ -AORafhioqrstv'
 			),$_COOKIE['user']);
 			if($ret2['code'] !== 0){
 				$ret2['message'] = 'Failed to register channel. See log for information.';