diff options
Diffstat (limited to 'src/access.cpp')
-rw-r--r-- | src/access.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/access.cpp b/src/access.cpp index 6f9a8cd8f..8c43b3a3d 100644 --- a/src/access.cpp +++ b/src/access.cpp @@ -63,13 +63,13 @@ Privilege::Privilege(const Anope::string &n, const Anope::string &d, int r) : na { if (this->desc.empty()) for (unsigned j = 0; j < sizeof(descriptions) / sizeof(*descriptions); ++j) - if (descriptions[j].name == name) + if (descriptions[j].name.equals_ci(name)) this->desc = descriptions[j].desc; } bool Privilege::operator==(const Privilege &other) const { - return this->name == other.name; + return this->name.equals_ci(other.name); } std::vector<Privilege> PrivilegeManager::Privileges; |