From c74f41d67d348cd97864a6ea7e67e8a1038cec75 Mon Sep 17 00:00:00 2001 From: Casper <38324207+csprr@users.noreply.github.com> Date: Thu, 14 Jun 2018 11:25:59 +0200 Subject: [PATCH] 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 --- modules/adminlog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/adminlog.cpp b/modules/adminlog.cpp index bd172813..b4f5634e 100644 --- a/modules/adminlog.cpp +++ b/modules/adminlog.cpp @@ -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;