allow gstats and pstats in pm during games
This commit is contained in:
parent
970e55e828
commit
60cd1ee06c
@ -6523,7 +6523,6 @@ def game_stats(cli, nick, chan, rest):
|
|||||||
|
|
||||||
if chan != nick:
|
if chan != nick:
|
||||||
var.LAST_GSTATS = datetime.now()
|
var.LAST_GSTATS = datetime.now()
|
||||||
|
|
||||||
if var.PHASE not in ('none', 'join'):
|
if var.PHASE not in ('none', 'join'):
|
||||||
cli.notice(nick, "Wait until the game is over to view stats.")
|
cli.notice(nick, "Wait until the game is over to view stats.")
|
||||||
return
|
return
|
||||||
@ -6575,7 +6574,6 @@ def player_stats(cli, nick, chan, rest):
|
|||||||
|
|
||||||
if chan != nick:
|
if chan != nick:
|
||||||
var.LAST_PSTATS = datetime.now()
|
var.LAST_PSTATS = datetime.now()
|
||||||
|
|
||||||
if var.PHASE not in ('none', 'join'):
|
if var.PHASE not in ('none', 'join'):
|
||||||
cli.notice(nick, 'Wait until the game is over to view stats.')
|
cli.notice(nick, 'Wait until the game is over to view stats.')
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user