From 4ede77ba99d438278b7430f41006988217b71aa8 Mon Sep 17 00:00:00 2001 From: psychon Date: Mon, 22 Feb 2010 18:44:54 +0000 Subject: [PATCH] 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 --- modules/extra/blockuser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/extra/blockuser.cpp b/modules/extra/blockuser.cpp index c7e6c3e0..d60f6766 100644 --- a/modules/extra/blockuser.cpp +++ b/modules/extra/blockuser.cpp @@ -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; } }