Exemplo n.º 1
0
 public static function init_server($name, $pass, $desc, $numeric)
 {
     self::$sid = $numeric;
     self::send('SERVER ' . $name . ' ' . $pass . ' 0 ' . self::$sid . ' :' . $desc);
     self::send(':' . self::$sid . ' BURST ' . core::$network_time);
     // init the server
     self::send(':' . self::$sid . ' VERSION :acora-' . core::$version . ' ' . core::$config->server_name . ' ' . core::$config->ircd . ' booted: ' . date('F j, Y, g:i a', core::$network_time) . '');
     // ooh, version?
     core::alog('init_server(): ' . $name . ' introduced :' . $desc, 'BASIC');
     // log it
 }