Make !ping reply 'Pong!' in-game

This commit is contained in:
nyuszika7h 2014-03-01 11:40:54 +01:00
parent 358788e893
commit 8e0468c5d4

View File

@ -251,8 +251,9 @@ def pinger(cli, nick, chan, rest):
return
if var.PHASE in ('night','day'):
cli.notice(nick, "You cannot use this command while a game is running.")
return
#cli.notice(nick, "You cannot use this command while a game is running.")
#return
cli.notice(nick, 'Pong!')
var.LAST_PING = datetime.now()
if var.PINGING: