Skip to content

Instantly share code, notes, and snippets.

@raku-cat raku-cat/IRCSock.patch
Last active Jan 24, 2016

Embed
What would you like to do?
--- znc/src/IRCSock.cpp.cp 2016-01-24 12:00:05.592063183 -0600
+++ znc/src/IRCSock.cpp 2016-01-24 12:02:00.111098984 -0600
@@ -1206,7 +1206,7 @@
}
m_pNetwork->ClearRawBuffer();
m_pNetwork->ClearMotdBuffer();
-
+/*
CString sPrefix = m_pNetwork->GetUser()->GetStatusPrefix();
for (CChan* pChan : m_pNetwork->GetChans()) {
if (pChan->IsOn()) {
@@ -1216,7 +1216,7 @@
" :You have been disconnected from the IRC server");
}
}
-
+*/
ResetChans();
// send a "reset user modes" cmd to the client.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.