Fix Issue 1540: SLURLs not openable from chat?

This commit is contained in:
Inusaito Sayori
2014-06-11 20:52:47 -04:00
parent 973a90a34d
commit 497babe8e9

View File

@@ -96,7 +96,9 @@ public:
return false;
}
const std::string verb = params[1].asString();
std::string verb = params[1].asString();
while (!verb.empty() && std::ispunct(verb.back()))
verb.pop_back();
if (verb == "about")
{
LLAvatarActions::showProfile(avatar_id);