Change GetParamsColon(1) to (0) in adminlog, as (1) does not show the error message, it will show an empty [] in the adminlog

Close #1557
This commit is contained in:
Casper
2018-06-14 11:25:59 +02:00
committed by Alexey Sokolov
parent e567f4cb73
commit c74f41d67d

View File

@@ -76,7 +76,7 @@ class CAdminLogMod : public CModule {
Log("[" + GetUser()->GetUserName() + "/" + GetNetwork()->GetName() +
"] disconnected from IRC: " +
GetNetwork()->GetCurrentServer()->GetName() + " [" +
Message.GetParamsColon(1) + "]",
Message.GetParamsColon(0) + "]",
LOG_NOTICE);
}
return CONTINUE;