mirror of
https://github.com/znc/znc.git
synced 2026-07-04 08:51:14 +02:00
blockuser: Make user name comparison case-sensitive
Because user names in znc *are* case sensitive. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1786 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -100,7 +100,7 @@ private:
|
||||
bool IsBlocked(const CString& sUser) {
|
||||
MCString::iterator it;
|
||||
for (it = BeginNV(); it != EndNV(); ++it) {
|
||||
if (sUser.Equals(it->first)) {
|
||||
if (sUser == it->first) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user