jameswritescode / rubyserv

Ruby IRC Services
MIT License
3 stars 1 forks source link

Prefix commands will go off if there is text between the prefix and the command #1

Closed jameswritescode closed 10 years ago

jameswritescode commented 10 years ago

Example:

 newton | !wallet 15dJg4QLk5qW1GMRaRsdUKBsjMnpvUs6GL
@howell | 15dJg4QLk5qW1GMRaRsdUKBsjMnpvUs6GL - Transactions: 1 - Received: 0.00 BTC (~$0.13) - Sent: 0.00 BTC (~$0.00) - Balance: 0.00 BTC (~$0.13)
@howell | sindacious's current track - Bruises by Train

howell's np command goes off because the bitcoin key contains "np". Plugins need to be aware of the first part of a command being next to a prefix (!np rather then !...np).

Low priority, but still a bug.

jameswritescode commented 10 years ago

Looks like this only half fixed the problem. The issue still exists when commands are made via private message.