mirror of
https://github.com/znc/znc.git
synced 2026-05-06 13:32:36 +02:00
Merge branch '1.6.x'
This commit is contained in:
@@ -882,8 +882,8 @@ void CClient::RespondCap(const CString& sResponse)
|
||||
|
||||
void CClient::HandleCap(const CString& sLine)
|
||||
{
|
||||
//TODO support ~ and = modifiers
|
||||
CString sSubCmd = sLine.Token(1);
|
||||
// This is not exactly correct, but this is protection from "CAP :END"
|
||||
CString sSubCmd = sLine.Token(1).TrimPrefix_n(":");
|
||||
|
||||
if (sSubCmd.Equals("LS")) {
|
||||
SCString ssOfferCaps;
|
||||
|
||||
Reference in New Issue
Block a user