Skip to content

Instantly share code, notes, and snippets.

@raku-cat
Last active January 24, 2016 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raku-cat/56e9c8f01e8408b357d6 to your computer and use it in GitHub Desktop.
Save raku-cat/56e9c8f01e8408b357d6 to your computer and use it in GitHub Desktop.
--- 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