diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-28 12:09:31 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-28 12:09:31 +0000 |
commit | e9001885478b51dad173ddc2f93170db2591a8be (patch) | |
tree | 8e0a3170d8cbda72f0afee5978d173f6ed602583 /src | |
parent | 0f5d9bac0f47be5a85379cac349fed6eee440d49 (diff) |
And the obligotary typo fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3381 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/cull_list.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cull_list.cpp b/src/cull_list.cpp index a6dd915a2..7c4afa16c 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -56,8 +56,7 @@ bool CullList::IsValid(userrec* user) { for (user_hash::iterator u = clientlist.begin(); u != clientlist.end(); u++) { - userrec* u2 = (userrec*)*u; - if (user == u2) + if (user == u->second) return true; } return false; @@ -91,7 +90,6 @@ void CullList::AddItem(userrec* user, std::string reason) { CullItem item(user,reason); list.push_back(item); - names.push_back(user->nick); exempt[user] = 1; } } |