-def destroy_all_sockets():
- """Go through all connected users and close their sockets."""
-
- # note that we're closing all sockets
- muffmisc.log("Closing remaining connections...")
-
- # iterate over each connected user and close their associated sockets
- for user in muffvars.userlist:
- user.connection.close()
-