X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=blobdiff_plain;f=commands.py;h=431a113cd1274fec3926c36a9ccaca276b0f206c;hb=caa74702b15b8640370e1ff3c98d8e3bf18924e1;hp=f7444d1d52b09eb4bf13c71fd5f33d3bb17a1990;hpb=bf16788e8f843447ef0b0d5649d76a83188b522a;p=irc.git diff --git a/commands.py b/commands.py index f7444d1..431a113 100755 --- a/commands.py +++ b/commands.py @@ -576,7 +576,7 @@ def getTweet(urlstring,twitapi,inclusion=False): else: toReplace = '%s://%s%s' % (rv.scheme, rv.hostname, rv.path) # leave off the final '?' - if expand_included_tweets and not inclusion: + if expand_included_tweets: if rv.hostname == 'twitter.com' and re.search(r'status/\d+',rv.path): quotedtweet = getTweet(toReplace, twitapi, inclusion=True) # inclusion parameter limits recursion. if not quotedtweet: