Professional debuggingTM
This commit is contained in:
parent
1dc37ecb77
commit
333cfca806
|
@ -788,7 +788,7 @@ def multiplayer(fro, chan, message):
|
||||||
raise exceptions.invalidArgumentsException("Wrong syntax: !mp join <id>")
|
raise exceptions.invalidArgumentsException("Wrong syntax: !mp join <id>")
|
||||||
matchID = int(message[1])
|
matchID = int(message[1])
|
||||||
userToken = glob.tokens.getTokenFromUsername(fro, ignoreIRC=True)
|
userToken = glob.tokens.getTokenFromUsername(fro, ignoreIRC=True)
|
||||||
if userToken is not None:
|
if userToken is None:
|
||||||
raise exceptions.invalidArgumentsException(
|
raise exceptions.invalidArgumentsException(
|
||||||
"No game clients found for {}, can't join the match. "
|
"No game clients found for {}, can't join the match. "
|
||||||
"If you're a referee and you want to join the chat "
|
"If you're a referee and you want to join the chat "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user