diff options
Diffstat (limited to 'kirc.h')
-rw-r--r-- | kirc.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -56,8 +56,9 @@ static char verb = 0; /* verbose output */ static char sasl = 0; /* SASL method */ static char isu8 = 0; /* UTF-8 flag */ static char dcc = 0; /* DCC flag */ -static char filter = 0; /* flag to filter ansi colors */ -static char* dcc_dir = NULL; /* DCC download directory */ +static char filter = 0; /* flag to filter ansi colors */ +static char* dcc_dir = NULL; /* DCC download directory */ +static mode_t dcc_mode = DCC_MODE; /* file permissions for downloaded files */ static const char *host = "irc.libera.chat"; /* host address */ static const char *port = "6667"; /* port */ static char chan[MSG_MAX]; /* channel and prompt */ @@ -116,7 +117,8 @@ typedef struct STATE { size_t lenu8; /* Current edited line length. */ size_t cols; /* Number of columns in terminal. */ int history_index; /* Current line in the edit history */ - char nick_privmsg; /* whether or not we are sending messages to a chan or nick */ + char nick_privmsg; /* whether or not we are sending messages to a chan or nick */ + char chan_privmsg; /* flag to toggle raw messages */ } state_t, *state; struct abuf { |