Skip to content

Commit

Permalink
Merge pull request #3 from snacsnoc/master
Browse files Browse the repository at this point in the history
Formatting cleanup and some fixes
  • Loading branch information
danopia committed Mar 30, 2014
2 parents 5cd147f + e64cd3f commit 721f0b8
Show file tree
Hide file tree
Showing 3 changed files with 799 additions and 952 deletions.
20 changes: 11 additions & 9 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@
// feel free to edit and distribute as long as you leave all original
// credit for this
//

// config.php - June 15, 2008 by danopia
// Read over the whole file before you run the server!

$config=Array(); // Array to store configoration values

$config = array(); // Array to store configoration values
////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// Simple stuff \\
////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

//
// (string) Name of the server. Must be a valid domain name, doens't
// have to exist though. You might want to have it acutally resolve to
Expand Down Expand Up @@ -68,12 +66,18 @@
// Range: Any TCP/IP port (1-51something)
// Default: 6667 (Standard)
//
$config['port'] = 6661;
$config['port'] = 6667;

//
// (test) Comment out the below line so your server will run.
// Server version
//
die('You haven\'t configured your server properly!');
$config['version'] = 0.1;

//
// (string)
// IP to bind IRC server to
//
$config['bind_ip'] = '0.0.0.0';

//
// (string) Line ending to be used in sockets. I use \n because it
Expand Down Expand Up @@ -108,7 +112,6 @@
////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
// Arrays (for linking, opering, and the sort) \\
////////////////////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

//
// ((string,string)[]) O:Lines
// O:Lines define opers. You oper with /oper <username> <password>
Expand All @@ -120,7 +123,6 @@
// Example:
// $config['opers']['john'] = 'asdf'; // Oper with /oper john adsf
//
$config['opers']=Array();
$config['opers'] = array();
$config['opers']['john'] = 'asdf';

?>
Loading

0 comments on commit 721f0b8

Please sign in to comment.