Removed some debug logging in chat

This commit is contained in:
Michiel Broek 2006-02-06 12:32:24 +00:00
parent 135c3dec7e
commit 8338e5fdaf

View File

@ -514,8 +514,6 @@ void chat_put_r(char *data, char *buf)
usr_list *tmpu, *tmp; usr_list *tmpu, *tmp;
chn_list *tmpc; chn_list *tmpc;
Syslog('c', "CPUT:%s", data);
if (IsSema((char *)"upsalarm")) { if (IsSema((char *)"upsalarm")) {
snprintf(buf, 81, "100:2,1,*** Power alarm, running on UPS;"); snprintf(buf, 81, "100:2,1,*** Power alarm, running on UPS;");
return; return;
@ -729,7 +727,7 @@ void chat_put_r(char *data, char *buf)
} }
} }
Syslog('c', "Pid %s was not connected to chatserver", pid); Syslog('+', "Pid %s was not connected to chatserver", pid);
snprintf(buf, 200, "100:2,1,*** ERROR - Not connected to server;"); snprintf(buf, 200, "100:2,1,*** ERROR - Not connected to server;");
free(msg); free(msg);
free(mbuf); free(mbuf);