mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Add default types to modules
This commit is contained in:
@@ -786,7 +786,7 @@ void CClient::UserCommand(CString& sLine) {
|
||||
}
|
||||
|
||||
if (sType.Equals("default")) {
|
||||
eType = ModInfo.DefaultType();
|
||||
eType = ModInfo.GetDefaultType();
|
||||
}
|
||||
|
||||
if (eType == CModInfo::GlobalModule && !m_pUser->IsAdmin()) {
|
||||
@@ -855,7 +855,7 @@ void CClient::UserCommand(CString& sLine) {
|
||||
}
|
||||
|
||||
if (sType.Equals("default")) {
|
||||
eType = ModInfo.DefaultType();
|
||||
eType = ModInfo.GetDefaultType();
|
||||
}
|
||||
|
||||
if (eType == CModInfo::GlobalModule && !m_pUser->IsAdmin()) {
|
||||
@@ -924,7 +924,7 @@ void CClient::UserCommand(CString& sLine) {
|
||||
}
|
||||
|
||||
if (sType.Equals("default")) {
|
||||
eType = ModInfo.DefaultType();
|
||||
eType = ModInfo.GetDefaultType();
|
||||
}
|
||||
|
||||
if (eType == CModInfo::GlobalModule && !m_pUser->IsAdmin()) {
|
||||
|
||||
Reference in New Issue
Block a user