summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/proto.cpp')
-rw-r--r--protocols/Telegram/src/proto.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/Telegram/src/proto.cpp b/protocols/Telegram/src/proto.cpp
index 7817d7e4ff..94c26a3d62 100644
--- a/protocols/Telegram/src/proto.cpp
+++ b/protocols/Telegram/src/proto.cpp
@@ -208,11 +208,6 @@ void CTelegramProto::OnBuildProtoMenu()
void CTelegramProto::OnErase()
{
- if (getByte(DBKEY_AUTHORIZED)) {
- m_bUnregister = true;
- ServerThread(0);
- }
-
DeleteDirectoryTreeW(GetProtoFolder(), false);
}