diff options
author | dequis <dx@dxzone.com.ar> | 2018-03-26 00:34:39 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2018-03-26 00:34:39 -0300 |
commit | 5bb44771ada1b938a0d0ae79b54e210b5481fc2d (patch) | |
tree | cfe9e207caef40a2a9bd8cc8fb0c33dbf8bbb323 | |
parent | 296a6fb0ce0baab4fb50df2133346c765ec66885 (diff) |
Improve the wording of the message when starting with inetd accidentally
-rw-r--r-- | irc.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |