Remove CZNC::GetUser()

CZNC::FindUser() does the same thing and we don't need two of these. GetUser()
was removed because FindUser() is used more than GetUser().

Thanks to Sthebig for noticing this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2046 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-06-29 18:58:14 +00:00
parent b3d6a86f68
commit 9c92d93ac4
4 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ public:
if (sUsername.empty())
return(m_pUser);
CUser *pUser = CZNC::Get().GetUser(sUsername);
CUser *pUser = CZNC::Get().FindUser(sUsername);
if (bSetUserContext)
m_pUser = pUser;