diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2004-09-12 17:22:45 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2004-09-12 17:22:45 +0000 |
commit | 0e47caf091dae7b4c214bab7e7398a32a07a657f (patch) | |
tree | f430a57aa5025a199c88762cd145c2518bcab930 /src/irc/irc.h | |
parent | 6100af949b683d3a092ca17c8e2487beece9e754 (diff) | |
download | weechat-0e47caf091dae7b4c214bab7e7398a32a07a657f.zip |
Away now announced in channels, and config option "look_display_away" added to enable/disable this feature
Diffstat (limited to 'src/irc/irc.h')
-rw-r--r-- | src/irc/irc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/irc.h b/src/irc/irc.h index 3d22fe5fb..9ce6238f1 100644 --- a/src/irc/irc.h +++ b/src/irc/irc.h @@ -21,6 +21,7 @@ #ifndef __WEECHAT_IRC_H #define __WEECHAT_IRC_H 1 +#include <time.h> #include "../gui/gui.h" /* prefixes for chat window */ @@ -132,6 +133,7 @@ struct t_irc_server int is_connected; /* 1 if WeeChat is connected to server */ int sock4; /* socket for server */ int is_away; /* 1 is user is marker as away */ + time_t away_time; /* time() when user marking as away */ int server_read; /* pipe for reading server data */ int server_write; /* pipe for sending data to server */ t_gui_buffer *buffer; /* GUI buffer allocated for server */ @@ -279,6 +281,8 @@ extern int irc_cmd_send_kill (t_irc_server *, char *); extern int irc_cmd_send_links (t_irc_server *, char *); extern int irc_cmd_send_list (t_irc_server *, char *); extern int irc_cmd_send_lusers (t_irc_server *, char *); +extern int irc_send_me (t_irc_server *, t_irc_channel *, char *); +extern int irc_send_me_all_channels (t_irc_server *, char *); extern int irc_cmd_send_me (t_irc_server *, char *); extern int irc_cmd_send_mode (t_irc_server *, char *); extern int irc_cmd_send_motd (t_irc_server *, char *); |