mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-10 14:58:05 +00:00
Update twister.cpp
This commit is contained in:
parent
5809846532
commit
23a684f765
@ -1798,7 +1798,7 @@ Value newpostmsg(const Array& params, bool fHelp)
|
||||
BOOST_FOREACH(string const& token, tokens) {
|
||||
if( token.length() >= 2 ) {
|
||||
char delim = token.at(0);
|
||||
if( delim != '#' && delim != '@') continue;
|
||||
if( delim != '#' && delim != '@' ) continue;
|
||||
string target = (delim == '#') ? "hashtag" : "mention";
|
||||
string word = token.substr(1);
|
||||
#ifdef HAVE_BOOST_LOCALE
|
||||
|
Loading…
Reference in New Issue
Block a user