fix !goat (also wasn't fully fixed)

This commit is contained in:
jacob1 2014-12-18 20:37:10 -05:00
parent 3a7c7f777b
commit 93cd95cfef

View File

@ -2298,8 +2298,8 @@ def goat(cli, nick, chan, rest):
rest = re.split(" +",rest)[0]
if not rest:
cli.notice(nick, 'Not enough parameters.')
victim = complete_match(rest, ull)
victim = complete_match(rest.lower(), ull)
if not victim:
cli.notice(nick, "\u0002{0}\u0002 is not in this channel.".format(rest))
return