mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user