mirror of
https://github.com/znc/znc.git
synced 2026-07-03 16:31:49 +02:00
Join channels immediately after spoof if set
This patch makes the client start joining its channels as soon as its spoof if set, if the user uses JoinAfterCloaked.
This commit is contained in:
@@ -257,6 +257,11 @@ public:
|
||||
if (sLine.Token(1) == "396" && sLine.Token(3).find("users.quakenet.org") != CString::npos) {
|
||||
m_bCloaked = true;
|
||||
PutModule("Cloak successful: Your hostname is now cloaked.");
|
||||
|
||||
// Join channels immediately after our spoof is set.
|
||||
if (m_bJoinAfterCloaked) {
|
||||
m_pNetwork->JoinChans();
|
||||
}
|
||||
}
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user