mirror of
https://github.com/znc/znc.git
synced 2026-08-02 23:12:46 +02:00
Merge pull request #881 from Kriechi/improve-stickychan
improve stickychan
This commit is contained in:
+1
-1
@@ -374,7 +374,7 @@ void CChan::ModeChange(const CString& sModes, const CNick* pOpNick) {
|
||||
// This is called when we join (ZNC requests the channel modes
|
||||
// on join) *and* when someone changes the channel keys.
|
||||
// We ignore channel key "*" because of some broken nets.
|
||||
if (uMode == 'k' && !bNoChange && bAdd && sArg != "*") {
|
||||
if (uMode == M_Key && !bNoChange && bAdd && sArg != "*") {
|
||||
SetKey(sArg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user