about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-08-20 14:23:55 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-08-20 14:23:55 -0400
commitaf41efa7c49fb8beec4484f67fd485621abe7169 (patch)
treeb09ad7e4d33be136908c2dadf758503da198a352
parentda9ff8e9d6c03167e4fbdb000aa7a421e46667ab (diff)
downloadrawr-ebooks-af41efa7c49fb8beec4484f67fd485621abe7169.tar.gz
rawr-ebooks-af41efa7c49fb8beec4484f67fd485621abe7169.tar.bz2
rawr-ebooks-af41efa7c49fb8beec4484f67fd485621abe7169.zip
Fixed bug wherein rawr-ebooks could only respond to itself
-rw-r--r--ebooks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ebooks.cpp b/ebooks.cpp index fd9ca83..dd4e27b 100644 --- a/ebooks.cpp +++ b/ebooks.cpp
@@ -78,7 +78,7 @@ int main(int argc, char** args)
78 twitter::stream user_stream(client, [&kgramstats] (const twitter::notification& n) { 78 twitter::stream user_stream(client, [&kgramstats] (const twitter::notification& n) {
79 if (n.getType() == twitter::notification::type::tweet) 79 if (n.getType() == twitter::notification::type::tweet)
80 { 80 {
81 if ((!n.getTweet().isRetweet()) && (n.getTweet().isMyTweet())) 81 if ((!n.getTweet().isRetweet()) && (!n.getTweet().isMyTweet()))
82 { 82 {
83 std::string original = n.getTweet().getText(); 83 std::string original = n.getTweet().getText();
84 std::string canonical; 84 std::string canonical;