about summary refs log tree commit diff stats
path: root/snitch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'snitch.cpp')
-rw-r--r--snitch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/snitch.cpp b/snitch.cpp index 65afff3..80df330 100644 --- a/snitch.cpp +++ b/snitch.cpp
@@ -115,6 +115,8 @@ int main(int argc, char** argv)
115 if ( 115 if (
116 // Only monitor people you are following 116 // Only monitor people you are following
117 friends.count(tweet.getAuthor().getID()) && 117 friends.count(tweet.getAuthor().getID()) &&
118 // Ignore retweets
119 !tweet.isRetweet() &&
118 // Ignore tweets from before the bot started up 120 // Ignore tweets from before the bot started up
119 createdTime > startedTime) 121 createdTime > startedTime)
120 { 122 {