diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:43 +0200 |
| commit | 796609174e5ecb35fab992969e7690186840048a (patch) | |
| tree | 1e4370d47f2a5c050b768c228e73e028a6611cb8 /src/logd.cpp | |
| parent | 312fe18cb5f97143f3600b207e979bc559256b6f (diff) | |
tagging ychat-0.7.3ychat-0.7.3
Diffstat (limited to 'src/logd.cpp')
| -rwxr-xr-x | src/logd.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logd.cpp b/src/logd.cpp index 44c42e2..0a6b85d 100755 --- a/src/logd.cpp +++ b/src/logd.cpp @@ -88,6 +88,10 @@ logd::log_access( map_string request ) void logd::log_simple_line( string s_line ) { + // Dont log empty lines! + if (s_line.empty()) + return; + string s_time = get_time_string(); string s_logstr = s_time + " " + s_line; |
