(id, cmd, ignored)
| 172 | |
| 173 | # {leave} |
| 174 | def leaveMsg(id, cmd, ignored): |
| 175 | if not cmd.topic: |
| 176 | cmd.topic = tn_globals.DefaultTopic |
| 177 | return pb.ClientMsg(leave=pb.ClientLeave(id=str(id), topic=cmd.topic, unsub=cmd.unsub), |
| 178 | extra=pack_extra(cmd)) |
| 179 | |
| 180 | |
| 181 | # {pub} |
nothing calls this directly
no test coverage detected