Permalink
Browse files

Add +o console flag to new -nt runs. Closes #428

Found by: thommey / Patch by: Cizzle
  • Loading branch information...
Cizzle authored and vanosg committed Aug 19, 2017
1 parent 59dc096 commit 7f195dbf484a824854b5e8fd6c41af2346ced575
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/main.c
  2. +2 −0 src/main.h
View
@@ -1234,7 +1234,7 @@ int main(int arg_c, char **arg_v)
getvhost(&dcc[term_z].sockname, AF_INET);
dcc[term_z].sock = STDOUT;
dcc[term_z].timeval = now;
dcc[term_z].u.chat->con_flags = conmask;
dcc[term_z].u.chat->con_flags = conmask | EGG_BG_CONMASK;
dcc[term_z].u.chat->strip_flags = STRIP_ALL;
dcc[term_z].status = STAT_ECHO;
strcpy(dcc[term_z].nick, EGG_BG_HANDLE);
View
@@ -143,6 +143,8 @@ extern struct dcc_table DCC_CHAT, DCC_BOT, DCC_LOST, DCC_SCRIPT, DCC_BOT_NEW,
/* Handle for the user that's used when starting eggdrop with -tn */
#define EGG_BG_HANDLE "-HQ"
/* Default recommended flags for this user, use | as splitter */
#define EGG_BG_CONMASK LOG_MISC /* "o" */
/* Stringify macros */
#define EGG_MACRO_STR(x) EGG_STR(x)

0 comments on commit 7f195db

Please sign in to comment.