From ce9faadeb6eb466a0b537dac6bb40c49b14c51ec Mon Sep 17 00:00:00 2001 From: prozacx Date: Sun, 13 Aug 2006 20:36:21 +0000 Subject: [PATCH] Added support for to talk unencrypted git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@746 726aef4b-f618-498e-8847-2d620e286838 --- modules/crypt.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/crypt.cpp b/modules/crypt.cpp index 7000d0cd..df6d7963 100644 --- a/modules/crypt.cpp +++ b/modules/crypt.cpp @@ -37,6 +37,12 @@ public: virtual EModRet OnUserMsg(CString& sTarget, CString& sMessage) { sTarget.TrimLeft("\244"); + + if (sMessage.Left(2) == "``") { + sMessage.LeftChomp(2); + return CONTINUE; + } + MCString::iterator it = FindNV(sTarget.AsLower()); if (it != EndNV()) {