Remove a useless conditional.
This commit is contained in:
parent
6f6805f1ea
commit
cd8ffbc4b6
@ -837,8 +837,6 @@ def altpinger(cli, nick, chan, rest):
|
|||||||
if altpinged:
|
if altpinged:
|
||||||
msg.append("Your ping preferences have been removed (was {0}).".format(players))
|
msg.append("Your ping preferences have been removed (was {0}).".format(players))
|
||||||
toggle_altpinged_status(nick, 0, players)
|
toggle_altpinged_status(nick, 0, players)
|
||||||
elif not rest:
|
|
||||||
msg.append("You need to enter a number.")
|
|
||||||
else:
|
else:
|
||||||
msg.append("You do not have any preferences set.")
|
msg.append("You do not have any preferences set.")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user