ElectronicWar / nbs-irc

Fork of latest nbs-irc code to add support for various modern mIRC features
MIT License
21 stars 3 forks source link

Alias vote - main.nbs - L1185 #7

Closed ghost closed 8 years ago

ghost commented 8 years ago

1) There's a small bug when you run the /vote command and you are not connected.

Before and after fix: image

Code: if (!$server) { n.echo -atg info not connected | return } Ought to be: if (!$server) { n.echo info -atg not connected | return }

2) If you start a vote, it'll ask for a yes/no question. If you just click the OK button it shouldn't continue with the vote, it should just return / halt.

Code: set %vote $n.input(Enter topic (yes/no)) Ought to be: set %vote $$n.input(Enter topic (yes/no))

ElectronicWar commented 8 years ago

Fixed with 19de905