mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
forgot these from /MOTD fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@260 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1b297770a0
commit
7a255bf839
@ -372,6 +372,7 @@ static void event_connected(const char *data, IRC_SERVER_REC *server, const char
|
||||
|
||||
/* last welcome message found - commands can be sent to server now. */
|
||||
server->connected = 1;
|
||||
server->real_connect_time = time(NULL);
|
||||
|
||||
if (!server->connrec->reconnection) {
|
||||
/* wait a second and then send the user mode */
|
||||
|
@ -75,6 +75,8 @@ typedef struct {
|
||||
GHashTable *module_data;
|
||||
|
||||
/* -- IRC specific - change if you wish -- */
|
||||
time_t real_connect_time; /* time when we received 001-event. */
|
||||
|
||||
char *real_address; /* address the irc server gives */
|
||||
char *version; /* server version - taken from 004 event */
|
||||
char *usermode; /* The whole mode string .. */
|
||||
|
Loading…
Reference in New Issue
Block a user