Fixed mpClose function return message

This commit is contained in:
Sunpy 2018-02-14 17:53:14 +01:00
parent f0e8223b5c
commit 0722c91018

View File

@ -796,7 +796,7 @@ def multiplayer(fro, chan, message):
def mpClose(): def mpClose():
matchID = getMatchIDFromChannel(chan) matchID = getMatchIDFromChannel(chan)
glob.matches.disposeMatch(matchID) glob.matches.disposeMatch(matchID)
return "Multiplayer match #{} disposed successfully".format(myToken.matchID) return "Multiplayer match #{} disposed successfully".format(matchID)
def mpLock(): def mpLock():
matchID = getMatchIDFromChannel(chan) matchID = getMatchIDFromChannel(chan)