From 54d45ba02cfa125d41dd4d5a784d7fede6ce457a Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Sun, 16 Nov 2014 10:37:17 +0100 Subject: [PATCH] Revert "fstasis: Improve non-negative integer message" This reverts commit 6468cf42b76a6cc7ae982f453c6fffbff79a839f. The new message is confusing, as it doesn't exclude floating point numbers, which are invalid here. --- modules/wolfgame.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 892d007..79866f1 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -5100,17 +5100,17 @@ def fstasis(cli, nick, chan, rest): amt = int(data[1]) except ValueError: if chan == nick: - pm(cli, nick, "The amount of stasis cannot be a negative integer.") + pm(cli, nick, "The amount of stasis has to be a non-negative integer.") else: - cli.notice(nick, "The amount of stasis cannot be a negative integer.") + cli.notice(nick, "The amount of stasis has to be a non-negative integer.") return if amt < 0: if chan == nick: - pm(cli, nick, "The amount of stasis cannot be a negative integer.") + pm(cli, nick, "The amount of stasis has to be a non-negative integer.") else: - cli.notice(nick, "The amount of stasis cannot be a negative integer.") + cli.notice(nick, "The amount of stasis has to be a non-negative integer.") return