mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Irssi::Connect = SERVER_CONNECT_REC
Several fixes to make it work git-svn-id: http://svn.irssi.org/repos/irssi/trunk@161 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7f4eac0dd4
commit
35c126ccb1
51
docs/PERL
51
docs/PERL
@ -182,22 +182,45 @@ Server::irc_send_cmd_split(cmd, arg, max_nicks)
|
||||
"KICK #channel nick3 :byebye" to server.
|
||||
|
||||
|
||||
*** Server Connects
|
||||
|
||||
This is a record where we keep connection information. All Servers and
|
||||
Reconnects records have pointer to one of these.
|
||||
|
||||
Connect::values()
|
||||
Get some information about connect. This function returns a reference to
|
||||
hash table. Hash table has keys:
|
||||
"address" - Address where we connected (irc.blah.org)
|
||||
"port" - Port where we connected
|
||||
"password" - Password we used in connection.
|
||||
|
||||
"ircnet" - IRC network
|
||||
"wanted_nick" - Nick which we would prefer to use
|
||||
"alternate_nick" - Alternate nick which we would prefer to use
|
||||
"username" - User name
|
||||
"realname" - Real name
|
||||
|
||||
Connect server_create_conn(address, [port=6667, [password='', [nick='', [channels='']]]])
|
||||
Create new server connection.
|
||||
|
||||
*** Server functions
|
||||
|
||||
Server::values()
|
||||
Get some information about server. This function returns a reference to
|
||||
hash table. Hash table has keys:
|
||||
"address" - Address where we connected (irc.blah.org)
|
||||
"real_address" - Who the server thinks it is (irc1.blah.org)
|
||||
"port" - Port where we connected
|
||||
"tag" - Unique server tag.
|
||||
"ircnet" - IRC network
|
||||
"password" - Password we used in connection.
|
||||
|
||||
"nick" - Current nick
|
||||
"ircnet" - IRC network
|
||||
"wanted_nick" - Nick which we would prefer to use
|
||||
"alternate_nick" - Alternate nick which we would prefer to use
|
||||
"username" - User name
|
||||
"realname" - Real name
|
||||
|
||||
"tag" - Unique server tag.
|
||||
"real_address" - Who the server thinks it is (irc1.blah.org)
|
||||
"nick" - Current nick
|
||||
"usermode" - Current user mode
|
||||
"usermode_away" - Are we marked as away? 1|0
|
||||
"away_reason" - Away reason
|
||||
@ -208,8 +231,8 @@ Server::values()
|
||||
%server_info = %{Irssi::cur_server->values()};
|
||||
Irssi::print("Current server = ".$server_info{'address'});
|
||||
|
||||
Server server_connect(address, [port=6667, [password='', [nick='', [channels='']]]])
|
||||
Create new server connection.
|
||||
Server Connect::connect()
|
||||
Connect to server.
|
||||
|
||||
Server::disconnect()
|
||||
Disconnect from server.
|
||||
@ -454,14 +477,18 @@ Reconnect::values()
|
||||
Get some information about reconnect. This function returns a reference to
|
||||
hash table. Hash table has keys:
|
||||
"tag" - Unique numeric tag
|
||||
"address" - Address where we're going to connect
|
||||
"password" - Password we use in connection
|
||||
"port" - Port where we're going to connect
|
||||
"ircnet" - IRC network
|
||||
"nick" - Nick we want to use
|
||||
"channels" - Join to these channels once connected
|
||||
"next_connect" - Unix time stamp when the next connection occurs
|
||||
|
||||
"address" - Address where we connected (irc.blah.org)
|
||||
"port" - Port where we connected
|
||||
"password" - Password we used in connection.
|
||||
|
||||
"ircnet" - IRC network
|
||||
"wanted_nick" - Nick which we would prefer to use
|
||||
"alternate_nick" - Alternate nick which we would prefer to use
|
||||
"username" - User name
|
||||
"realname" - Real name
|
||||
|
||||
|
||||
*** Netsplits
|
||||
|
||||
|
@ -83,7 +83,7 @@ nicklist.c:
|
||||
"nick gone changed", CHANNEL_REC, NICK_REC
|
||||
"nick ircop changed", CHANNEL_REC, NICK_REC
|
||||
"server nick changed", SERVER_REC
|
||||
"massjoin", CHANNEL_REC, GList of NICK_RECs
|
||||
"massjoin", CHANNEL_REC, GSList of NICK_RECs
|
||||
|
||||
rawlog.c:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user