mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
printtext(): you can now specify server target with tag name instead of
record. This is useful with DCC chats when you know the initial server tag but the server might be already disconnected. So what this means is that you now get ~/irclogs/ircnet/=nick.log instead of ~/irclogs/=nick.log :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2388 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
82b0c081e2
commit
cf83236346
8 changed files with 118 additions and 56 deletions
|
|
@ -45,6 +45,7 @@ struct _FORMAT_REC {
|
|||
typedef struct {
|
||||
WINDOW_REC *window;
|
||||
SERVER_REC *server;
|
||||
const char *server_tag; /* if server is non-NULL, must be server->tag */
|
||||
const char *target;
|
||||
int level;
|
||||
|
||||
|
|
@ -100,6 +101,9 @@ char *format_get_line_start(THEME_REC *theme, TEXT_DEST_REC *dest, time_t t);
|
|||
void format_create_dest(TEXT_DEST_REC *dest,
|
||||
void *server, const char *target,
|
||||
int level, WINDOW_REC *window);
|
||||
void format_create_dest_tag(TEXT_DEST_REC *dest, void *server,
|
||||
const char *server_tag, const char *target,
|
||||
int level, WINDOW_REC *window);
|
||||
|
||||
void format_newline(WINDOW_REC *window);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue