[TASK] Added function for clients, so they're able to send initial data right after connecting to a server.
[TASK] Restructured parts of the core to support sending data right after connecting. [TASK] Adapted core part for automatic reconnect to support sending initial data, too.
This commit is contained in:
@@ -13,13 +13,15 @@ $freenode->connect("irc.freenode.net", 6667);
|
||||
$freenode->setReconnect(TRUE);
|
||||
*/
|
||||
|
||||
$freenode = $clientManager->createTcpConnection("freenode", "irc");
|
||||
$euirc = $clientManager->createTcpConnection("euirc", "irc");
|
||||
$clientManager->attachConfig(array(
|
||||
"nick" => "Pb42",
|
||||
"userident" => "uzuguck",
|
||||
"channels" => array("#mstasty", "#starsim")
|
||||
), $freenode);
|
||||
$freenode->connect("irc.freenode.net", 6667);
|
||||
"userident" => "Serena",
|
||||
"channels" => array("#kuzuru-subs")
|
||||
), $euirc);
|
||||
$euirc->connect("irc.euirc.net", 6667);
|
||||
$euirc->setReconnect(TRUE);
|
||||
|
||||
|
||||
/*$config_eloxoph = array(
|
||||
"nick" => "Frischmilch",
|
||||
|
||||
Reference in New Issue
Block a user