Revert "transperancy: Make the user aware that DEBUG mode is enabled."

This reverts commit ab501767a1.

Superceded by admindebug module
This commit is contained in:
Alexey Sokolov
2018-06-18 00:41:18 +01:00
parent e64b331342
commit 6d1e77bb52
2 changed files with 0 additions and 14 deletions
-7
View File
@@ -20,7 +20,6 @@
#include <znc/User.h>
#include <znc/IRCNetwork.h>
#include <znc/Query.h>
#include <znc/ZNCDebug.h>
using std::set;
using std::map;
@@ -89,12 +88,6 @@ CClient::~CClient() {
void CClient::SendRequiredPasswordNotice() {
PutClient(":irc.znc.in 464 " + GetNick() + " :Password required");
if (CDebug::Debug()) {
PutClient(
":irc.znc.in NOTICE " + GetNick() + " :*** "
"ZNC is presently running in DEBUG mode. Sensitive data during "
"your current session may be exposed to the host.");
}
PutClient(
":irc.znc.in NOTICE " + GetNick() + " :*** "
"You need to send your password. "
-7
View File
@@ -23,7 +23,6 @@
#include <znc/Chan.h>
#include <znc/Query.h>
#include <znc/Message.h>
#include <znc/ZNCDebug.h>
#include <algorithm>
#include <memory>
@@ -728,12 +727,6 @@ void CIRCNetwork::ClientConnected(CClient* pClient) {
pClient->PutStatus(
t_s("You are currently disconnected from IRC. Use 'connect' to "
"reconnect."));
if (CDebug::Debug()) {
pClient->PutStatus(
t_s("ZNC is presently running in DEBUG mode. Sensitive data during "
"your current session may be exposed to the host."));
}
}
void CIRCNetwork::ClientDisconnected(CClient* pClient) {