summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-01-24 23:05:26 +0100
committermadmaxoft <github@xoft.cz>2014-01-24 23:05:26 +0100
commitebcaaad63aaf854e01f63104a820dfcbd76cc80e (patch)
treef3824b22d8c4a9c4ce1083c74ce8e34ab6bee186
parentAdded per-connection comm logging in debug mode. (diff)
downloadcuberite-ebcaaad63aaf854e01f63104a820dfcbd76cc80e.tar
cuberite-ebcaaad63aaf854e01f63104a820dfcbd76cc80e.tar.gz
cuberite-ebcaaad63aaf854e01f63104a820dfcbd76cc80e.tar.bz2
cuberite-ebcaaad63aaf854e01f63104a820dfcbd76cc80e.tar.lz
cuberite-ebcaaad63aaf854e01f63104a820dfcbd76cc80e.tar.xz
cuberite-ebcaaad63aaf854e01f63104a820dfcbd76cc80e.tar.zst
cuberite-ebcaaad63aaf854e01f63104a820dfcbd76cc80e.zip
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 68bf6683f..902e9e43b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -236,8 +236,8 @@ int main( int argc, char **argv )
for (int i = 0; i < argc; i++)
{
if (
- (_stricmp(argv[i], "/commlog") == 0) ||
- (_stricmp(argv[i], "/logcomm") == 0)
+ (NoCaseCompare(argv[i], "/commlog") == 0) ||
+ (NoCaseCompare(argv[i], "/logcomm") == 0)
)
{
g_ShouldLogComm = true;