From a7b0c26a4c56440e4bc5ddc6d3ecfeb36089dbb2 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 6 Apr 2006 02:25:20 +0000 Subject: Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE THEM - we now have no stupid spaces. This was mostly a mass find/replace, so some indentation may be stuffed. Minor issue, though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cull_list.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/cull_list.cpp') diff --git a/src/cull_list.cpp b/src/cull_list.cpp index 20454c155..61324c454 100644 --- a/src/cull_list.cpp +++ b/src/cull_list.cpp @@ -86,8 +86,8 @@ bool CullList::IsValid(userrec* user) CullItem::CullItem(userrec* u, std::string &r) { - this->user = u; - this->reason = r; + this->user = u; + this->reason = r; } CullItem::CullItem(userrec* u, const char* r) @@ -102,27 +102,27 @@ CullItem::~CullItem() userrec* CullItem::GetUser() { - return this->user; + return this->user; } std::string& CullItem::GetReason() { - return this->reason; + return this->reason; } CullList::CullList() { list.clear(); - exempt.clear(); + exempt.clear(); } void CullList::AddItem(userrec* user, std::string &reason) { if (exempt.find(user) == exempt.end()) { - CullItem item(user,reason); - list.push_back(item); - exempt[user] = user->signon; + CullItem item(user,reason); + list.push_back(item); + exempt[user] = user->signon; } } @@ -138,13 +138,13 @@ void CullList::AddItem(userrec* user, const char* reason) int CullList::Apply() { - int n = 0; - while (list.size()) - { + int n = 0; + while (list.size()) + { std::vector::iterator a = list.begin(); kill_link(a->GetUser(), a->GetReason().c_str()); list.erase(list.begin()); - } - return n; + } + return n; } -- cgit v1.3.1-10-gc9f91