Stalker icon indicating copy to clipboard operation
Stalker copied to clipboard

Strip spaces in nick/host lookup

Open khaytsus opened this issue 12 years ago • 2 comments

When doing /nick_lookup partial(tab) irssi automatically puts a space at the end and that is passed into get_nick_records with a space in the $query string and so it fails. I have locally used a regex to strip out the trailing space with $query =~ s/\s*$//g; but there could be better ways to fix this issue.

khaytsus avatar Sep 11 '13 14:09 khaytsus

https://github.com/symkat/Stalker/commit/6baba207fe1b75ce22c35e1e14c9f065f8d3b1e4 This needs reviewing, the "changed" date updated, VERSION bump and a changelog entry before going into master

IsaacG avatar Sep 12 '13 02:09 IsaacG

Thanks :-D

khaytsus avatar Sep 12 '13 02:09 khaytsus