mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix chansaver's channel keys by adding other OnMode() hooks
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
return CONTINUE;
|
||||
}
|
||||
|
||||
virtual void OnMode(const CNick& OpNick, CChan& Channel, char uMode, const CString& sArg, bool bAdded, bool bNoChange) {
|
||||
virtual void OnMode(const CNick* pOpNick, CChan& Channel, char uMode, const CString& sArg, bool bAdded, bool bNoChange) {
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user