mirror of
https://github.com/znc/znc.git
synced 2026-07-03 00:11:59 +02:00
crypt: Fix bug where a usermsg was not forwarded to other clients
Thanks to SilverLeo for this patch. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1088 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-2
@@ -44,8 +44,9 @@ public:
|
||||
|
||||
if (it != EndNV()) {
|
||||
CChan* pChan = m_pUser->FindChan(sTarget);
|
||||
if ((pChan) && (pChan->KeepBuffer())) {
|
||||
pChan->AddBuffer(":\244" + m_pUser->GetIRCNick().GetNickMask() + " PRIVMSG " + sTarget + " :" + sMessage);
|
||||
if (pChan) {
|
||||
if (pChan->KeepBuffer())
|
||||
pChan->AddBuffer(":\244" + m_pUser->GetIRCNick().GetNickMask() + " PRIVMSG " + sTarget + " :" + sMessage);
|
||||
m_pUser->PutUser(":\244" + m_pUser->GetIRCNick().GetNickMask() + " PRIVMSG " + sTarget + " :" + sMessage, NULL, m_pClient);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user