You mean how do you turn off the chat module? Go to site administration>plugins>activity modules>manage activities and close the eye of the chat module. (That is for 2.0-if you are using1.9 I think offhand the setting is modules instead of plugins)
Chat
How do I disable all chat in Moodle 2.0?
This discussion has been locked so you can no longer reply to it.