From: Michael Poole Date: Tue, 11 Dec 2007 01:04:44 +0000 (-0500) Subject: Clarify some log messages. X-Git-Tag: v1.4.0-rc1^0 X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=7fe401a165cdfb1f102cf3d545e1dffb3896a2e9 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. --- 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) {