aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2018-03-26 00:34:39 -0300
committerdequis <dx@dxzone.com.ar>2018-03-26 00:34:39 -0300
commit5bb44771ada1b938a0d0ae79b54e210b5481fc2d (patch)
treecfe9e207caef40a2a9bd8cc8fb0c33dbf8bbb323
parent296a6fb0ce0baab4fb50df2133346c765ec66885 (diff)
Improve the wording of the message when starting with inetd accidentally
-rw-r--r--irc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/irc.c b/irc.c
index 0010b3e2..a73a3111 100644
--- a/irc.c
+++ b/irc.c
@@ -128,9 +128,11 @@ irc_t *irc_new(int fd)
if (isatty(irc->fd)) {
irc_write(irc, ":%s NOTICE * :%s", irc->root->host,
"If you read this, you most likely accidentally "
- "started BitlBee in inetd mode on the command line. "
- "You probably want to run it in (Fork)Daemon mode. "
- "See doc/README for more information.");
+ "started BitlBee in inetd mode on the command line.");
+ irc_write(irc, ":%s NOTICE * :%s", irc->root->host,
+ "You probably want to run it as a system service, "
+ "or use (Fork)Daemon mode with the -F or -D switches. "
+ "See doc/README or 'man bitlbee' for more information.");
}
/* libpurple doesn't like fork()s after initializing itself, so this