Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240182 - Willikins doesn't make a difference between bug numbers, nicks and random words (!bug command)
Summary: Willikins doesn't make a difference between bug numbers, nicks and random wor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 00:15 UTC by Thomas Faucher
Modified: 2008-11-14 07:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Faucher 2008-10-06 00:15:35 UTC
Description:
------------

Willikins is not able to find out that some words after the bug command might be a nick or random words.


How to reproduce:
----------------

As seen on #gentoo-dev:
  (@rangerpb) !bug 238859 for example
  (+Willikins) rangerpb: incorrect usage, ask for help using 'Willikins: help bug'

Expected results:
-----------------

One should be able to add nicks and random words to the !bug command.
Examples:
  (@GentooDev) !bug 238859 for example
  (+Willikins) GentooDev: bug 238859 is bla bla bla
  (@GentooDev) !bug 238859 <--- hey SomeGuy, look at this one
  (+Willikins) SomeGuy: bug 238859 is bla bla bla
The last one would be something like: for i in $args + 1 ; if $i is on #channel then address the output to him ; else ignore that $i.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-11-14 07:24:59 UTC
No, the problem is that you just called the two-argument form of the bug lookup.
I changed the code now such that the two-argument form must be explicitly called.