Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/ : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/ : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System Linux
  • Severity Medium
  • Priority Normal
  • Reported Version Irssi 0.8.12
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Paige Thompson (paigeadele) - 2008-08-13

FS#614 - input parser error: 23:25 -!- Irssi: Unknown command: window 60

upon typing:
/win 60<spacebar><enter>

(number doesnt matter...)

I get:
23:25 -!- Irssi: Unknown command: window 60

when typing
/win 60<enter>
it works just fine...

This task does not depend on any other tasks.

Matt Sparks (ms)
Saturday, 29 August 2009, 12:36 GMT
Fixed in bug-614 branch at git:// [ ]


Tracking branch:
irssi $ git remote add msparks git://
irssi $ git fetch msparks
irssi $ git checkout -b bug-614 msparks/bug-614
Wouter Coekaerts (coekie)
Tuesday, 08 September 2009, 20:34 GMT
Looks good.
Can you update the patch/branch, because your patch from  FS#667  got applied and seems to conflict with this one.
Matt Sparks (ms)
Saturday, 06 February 2010, 14:52 GMT
I pushed an updated fix to github. I used a different solution; is_numeric() now ignores leading and trailing whitespace. Using is_numeric("2 foo", ' ') would still be considered numeric, whereas the new is_numeric() will not. This is a more robust solution, and should fix any other commands that suffered from this problem. Comments and suggestions appreciated.

The above diff URL is no longer valid. If you need a patch,
git diff e0ee41e44e762e1774b41b03fe7ff38e545d2c4d a543e62d4cfcda266161cc8f14a7eab41a1d079b
should do fine, or just let me know.