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 authored and Alexey Sokolov committed 2018-06-14 22:25:41 +01:00
1 parent e567f4cb73
commit c74f41d67d
1 file changed
+1 -1
+1 -1
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;