Skip to content

Conversation

@mmitch
Copy link
Contributor

@mmitch mmitch commented Sep 18, 2010

use //g for multiple matches
take result from $_ because $1 will always contain the last match

the old code only found the first @mention - and seeing that there is a foreach loop, this does not seem to be intended

use //g for multiple matches
take result from $_ because $1 will always contain the last match
removes error display in debug output on every update when follow_extra is empty
@mmitch
Copy link
Contributor Author

mmitch commented Sep 18, 2010

why does the second commit already show up here, too? anyways, I don't have to open another pull request then :)

The second commit fixes a warning in debug mode that was displayed on every get_updates() when the follow_extra list is empty:

19:06 get_timeline(0= > ) started. username = @Twitter 19:06 Error during user_timeline() call: Aborted. 19:06 : $VAR1 = 'required arg \'id\' missing at ~/.irssi/scripts/twirssi.pl line 1319 19:06 : ';

@mmitch
Copy link
Contributor Author

mmitch commented Sep 22, 2010

pull request has been merged

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant