mirror of
https://github.com/znc/znc.git
synced 2026-05-08 06:14:40 +02:00
Fix chansaver's channel keys by adding other OnMode() hooks
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ public:
|
||||
return HALTCORE;
|
||||
}
|
||||
|
||||
virtual void OnOp(const CNick& OpNick, const CNick& Nick, CChan& Channel, bool bNoChange) {
|
||||
virtual void OnOp(const CNick* pOpNick, const CNick& Nick, CChan& Channel, bool bNoChange) {
|
||||
if (Nick.GetNick() == m_pNetwork->GetIRCNick().GetNick()) {
|
||||
const map<CString,CNick>& msNicks = Channel.GetNicks();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user