mirror of
https://github.com/znc/znc.git
synced 2026-07-04 00:41:38 +02:00
Fix #1008: Channel keys get saved in a very wrong way
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ void CChan::Cycle() const {
|
||||
}
|
||||
|
||||
void CChan::JoinUser(const CString& sKey) {
|
||||
if (!sKey.empty()) {
|
||||
if (!IsOn() && !sKey.empty()) {
|
||||
SetKey(sKey);
|
||||
}
|
||||
m_pNetwork->PutIRC("JOIN " + GetName() + " " + GetKey());
|
||||
|
||||
Reference in New Issue
Block a user