Skip to content

Matching string on "!quote" and "!aq" accepts trailing spaces. #17

@grifferz

Description

@grifferz
  • <\> !quote AgainstHumanity
  • -Enoch:#bitfolk- Fail. No quote for #bitfolk matches AgainstHumanity .
  • <\> !aq AgainstHumanity
  • -Enoch:#bitfolk- Fail. No quote in the database matches AgainstHumanity .
  • <\> fuck you
  • <\> !quote 6222
  • -Enoch:#bitfolk- Quote[6222 / 8.5 / grifferz @ 19-Feb-15]: <AgainstHumanity> 1 person just played! We're just waiting on grifferz to make their play. <\> this is stupid. wheres the AgainstSystemd bot <ziphy> : you mean twitter?
  • <grifferz> how come that didn't match then
  • <grifferz> oh space at the end
  • <\> what space
  • <grifferz> 14:20:07 -Enoch:#bitfolk- Fail. No quote for #bitfolk matches AgainstHumanity .

Should strip whitespace off the end of the pattern match.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions