File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def banDone(self, avId):
117117
118118
119119@magicWord (category = CATEGORY_MODERATOR , types = [str ])
120- def kick (reason ):
120+ def kick (reason = 'No reason specified' ):
121121 """
122122 Kick the target from the game server.
123123 """
@@ -129,7 +129,7 @@ def kick(reason):
129129 target .GetPuppetConnectionChannel (target .doId ),
130130 simbase .air .ourChannel , CLIENTAGENT_EJECT )
131131 datagram .addUint16 (155 )
132- datagram .addString ('You were kicked by a moderator for the following reason: "%s" \n \n Behave next time! ' % reason )
132+ datagram .addString ('You were kicked by a moderator for the following reason: %s ' % reason )
133133 simbase .air .send (datagram )
134134 return "Kicked %s from the game server!" % target .getName ()
135135
You can’t perform that action at this time.
0 commit comments