aboutsummaryrefslogtreecommitdiff
path: root/lib/MasterServer/Core/Logging.pm
diff options
context:
space:
mode:
authorDarkelarious <darkelarious@333networks.com>2017-09-25 22:41:59 +0200
committerDarkelarious <darkelarious@333networks.com>2017-09-25 22:41:59 +0200
commit18fc4c931e75d8de804c601b46dc8c8b339db3d9 (patch)
tree58a78c8c7841f649fa2e98ddd94456a55951dfa7 /lib/MasterServer/Core/Logging.pm
parentc06322da38b4cb76b2036af1a5448083adb8ff20 (diff)
downloadMasterServer-Perl-18fc4c931e75d8de804c601b46dc8c8b339db3d9.tar.gz
MasterServer-Perl-18fc4c931e75d8de804c601b46dc8c8b339db3d9.zip
game statistics for all servers, numerous small fixes
Diffstat (limited to 'lib/MasterServer/Core/Logging.pm')
-rwxr-xr-xlib/MasterServer/Core/Logging.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/MasterServer/Core/Logging.pm b/lib/MasterServer/Core/Logging.pm
index d2094ed..260b379 100755
--- a/lib/MasterServer/Core/Logging.pm
+++ b/lib/MasterServer/Core/Logging.pm
@@ -18,15 +18,15 @@ sub error {
# which one?
switch ($error) {
# connection timed out
- case m/Connection timed out/i {$self->log("timeout", "on $instigator.");}
+ case m/Connection timed out/i {$self->log("timeout", "on $instigator");}
# connection reset by peer
- case m/Connection reset by peer/i {$self->log("reset", "on $instigator.");}
+ case m/Connection reset by peer/i {$self->log("reset", "on $instigator");}
# connection refused
- case m/Connection refused/i {$self->log("refused", "on $instigator.");}
+ case m/Connection refused/i {$self->log("refused", "on $instigator");}
# no such device or address
- case m/No such device or address/i {$self->log("nodevice", "on $instigator.");}
+ case m/No such device or address/i {$self->log("nodevice", "on $instigator");}
# if all else fails
- else {$self->log("error", "$error on $instigator.");}
+ else {$self->log("error", "$error on $instigator");}
}
}