Add default types to modules

This commit is contained in:
Kyle Fuller
2011-08-27 17:04:02 +00:00
parent 98777a27af
commit d48ae679c4
2 changed files with 7 additions and 7 deletions

View File

@@ -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()) {