Allow tourney clients to send messages in chat, send match info to lobby after creating it with !mp make
This commit is contained in:
@@ -164,8 +164,8 @@ def sendMessage(fro = "", to = "", message = "", token = None, toIRC = True):
|
||||
#tokenString = token.token
|
||||
|
||||
# Make sure this is not a tournament client
|
||||
if token.tournament:
|
||||
raise exceptions.userTournamentException()
|
||||
# if token.tournament:
|
||||
# raise exceptions.userTournamentException()
|
||||
|
||||
# Make sure the user is not in restricted mode
|
||||
if token.restricted:
|
||||
|
Reference in New Issue
Block a user