diff options
author | David Seikel | 2011-05-02 22:56:25 +1000 |
---|---|---|
committer | David Seikel | 2011-05-02 22:56:25 +1000 |
commit | 6adbd7432b4011b30e90680a60ba232eb8efd05b (patch) | |
tree | 8d96dda86f5212dcf6dfd66211a12b05b7234a05 /linden | |
parent | Mostly revert "Adding the meta 7 web site stuff to the help menu. With trans... (diff) | |
download | meta-impy-6adbd7432b4011b30e90680a60ba232eb8efd05b.zip meta-impy-6adbd7432b4011b30e90680a60ba232eb8efd05b.tar.gz meta-impy-6adbd7432b4011b30e90680a60ba232eb8efd05b.tar.bz2 meta-impy-6adbd7432b4011b30e90680a60ba232eb8efd05b.tar.xz |
Basing god status on the last name is bound to break in random grids.
Needs a more general solution.
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llmutelist.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
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() | |||
284 | 284 | ||
285 | BOOL LLMuteList::isGod(const std::string& name) const | 285 | BOOL LLMuteList::isGod(const std::string& name) const |
286 | { | 286 | { |
287 | typedef boost::tokenizer<boost::char_separator<char> > tokenizer; | 287 | // Basing god status on the last name is bound to break in random grids. |
288 | boost::char_separator<char> sep(" "); | 288 | // Track down users of this and see if we can get their user level instead. |
289 | tokenizer tokens(name, sep); | 289 | return FALSE; |
290 | tokenizer::iterator token_iter = tokens.begin(); | ||
291 | |||
292 | if (token_iter == tokens.end()) return FALSE; | ||
293 | token_iter++; | ||
294 | if (token_iter == tokens.end()) return FALSE; | ||
295 | |||
296 | std::string last_name = *token_iter; | ||
297 | return last_name == "Meta"; | ||
298 | } | 290 | } |
299 | 291 | ||
300 | 292 | ||