From 6adbd7432b4011b30e90680a60ba232eb8efd05b Mon Sep 17 00:00:00 2001 From: David Seikel Date: Mon, 2 May 2011 22:56:25 +1000 Subject: Basing god status on the last name is bound to break in random grids. Needs a more general solution. --- linden/indra/newview/llmutelist.cpp | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/newview/llmutelist.cpp b/linden/indra/newview/llmutelist.cpp index a59f410..022bf36 100644 --- a/linden/indra/newview/llmutelist.cpp +++ b/linden/indra/newview/llmutelist.cpp @@ -284,17 +284,9 @@ LLMuteList::~LLMuteList() BOOL LLMuteList::isGod(const std::string& name) const { - typedef boost::tokenizer > tokenizer; - boost::char_separator sep(" "); - tokenizer tokens(name, sep); - tokenizer::iterator token_iter = tokens.begin(); - - if (token_iter == tokens.end()) return FALSE; - token_iter++; - if (token_iter == tokens.end()) return FALSE; - - std::string last_name = *token_iter; - return last_name == "Meta"; + // Basing god status on the last name is bound to break in random grids. + // Track down users of this and see if we can get their user level instead. + return FALSE; } -- cgit v1.1