if (!strncmp(message, "Closing Link: 127.0.0.1 (", 25))
return 1;
- snprintf(prefix2, sizeof prefix2,
+ rb_snprintf(prefix2, sizeof prefix2,
"Closing Link: 127.0.0.1 %s (", me.name);
if (!strncmp(message, prefix2, strlen(prefix2)))
return 1;
* although this is called internally from other functions
* --msa
*
- * parv[0] = sender prefix
* parv[*] = parameters
*/
int
para = (parc > 1 && *parv[1] != '\0') ? parv[1] : "<>";
- ilog(L_SERVER, "Received ERROR message from %s: %s",
- log_client_name(source_p, SHOW_IP), para);
+ if (IsAnyServer(client_p))
+ {
+ ilog(L_SERVER, "Received ERROR message from %s: %s",
+ log_client_name(source_p, SHOW_IP), para);
+ }
if(is_safe_error(para))
hideit = 0;