From 5bb44771ada1b938a0d0ae79b54e210b5481fc2d Mon Sep 17 00:00:00 2001 From: dequis Date: Mon, 26 Mar 2018 00:34:39 -0300 Subject: Improve the wording of the message when starting with inetd accidentally --- irc.c | 8 +++++--- 1 file 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 -- cgit v1.2.3