From 4f5245f5027709e2df5bc533156040f422011926 Mon Sep 17 00:00:00 2001 From: TheLordOfTime Date: Sat, 11 May 2013 16:22:27 -0300 Subject: [PATCH] controlpanel.cpp: Increase verbosity of successful "Disconnect" command This modifies line 897 to have more verbosity on the output for a successful execution of the "Disconnect" command, which will allow for the output to say what network was force-disconnected on what user. This is a repaired version of pull request #352 which I closed after a FTBFS which I did not realize. --- modules/controlpanel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/controlpanel.cpp b/modules/controlpanel.cpp index 6f99a90b..3933b11c 100644 --- a/modules/controlpanel.cpp +++ b/modules/controlpanel.cpp @@ -894,7 +894,7 @@ class CAdminMod : public CModule { } pNetwork->SetIRCConnectEnabled(false); - PutModule("Closed user's IRC connection."); + PutModule("Closed IRC connection for network [" + sNetwork + "] on user [" + sUserName + "]."); } void ListCTCP(const CString& sLine) {