From 7fe401a165cdfb1f102cf3d545e1dffb3896a2e9 Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Mon, 10 Dec 2007 20:04:44 -0500 Subject: [PATCH] Clarify some log messages. src/mod-sockcheck.c (sockcheck_read_conf): Add missing "from". src/proto-common.c (cmd_error): Clarify the source of the error. --- src/mod-sockcheck.c | 2 +- src/proto-common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod-sockcheck.c b/src/mod-sockcheck.c index 35ca27f..d5888da 100644 --- a/src/mod-sockcheck.c +++ b/src/mod-sockcheck.c @@ -1157,7 +1157,7 @@ sockcheck_read_conf(void) sockcheck_conf.local_addr_len = 0; sockcheck_conf.local_addr = NULL; if (str) - log_module(PC_LOG, LOG_ERROR, "Error: Unable to get host named `%s', not checking a specific address.", str); + log_module(PC_LOG, LOG_ERROR, "Error: Unable to get host named `%s', not checking from a specific address.", str); } } } diff --git a/src/proto-common.c b/src/proto-common.c index 171da14..729c8fc 100644 --- a/src/proto-common.c +++ b/src/proto-common.c @@ -330,7 +330,7 @@ static CMD_FUNC(cmd_dummy) static CMD_FUNC(cmd_error) { - if (argv[1]) log_module(MAIN_LOG, LOG_ERROR, "Error: %s", argv[1]); + if (argv[1]) log_module(MAIN_LOG, LOG_ERROR, "Error from ircd: %s", argv[1]); log_module(MAIN_LOG, LOG_ERROR, "Error received from uplink, squitting."); if (cManager.uplink->state != CONNECTED) { -- 2.20.1