blob: bdc501646e2f872c4b6e9fa796c98b96324d98f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<?php
/**
* TwIRCd - Twitter IRC Server
*
* This file is part of TwIRCd.
*
* TwIRCd is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3 of the License.
*
* TwIRCd is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with TwIRCd; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @package Core
* @version $Revision$
* @license http://www.gnu.org/licenses/gpl-3.0.txt GPL
*/
namespace TwIRCd;
require __DIR__ . '/env.php';
const VERSION = '0.0.1';
$logger = new Logger\StdOut();
$twircd = new Server(
$logger,
new Irc\Server( $logger, '127.0.0.1', 6667 ),
new Mapper\Ident( $logger )
);
$twircd->run();
|