clean before destroy m_sock
diff --git a/chatdialog.h b/chatdialog.h
index a8e385d..75e5d97 100644
--- a/chatdialog.h
+++ b/chatdialog.h
@@ -67,6 +67,7 @@
   void settingUpdated(QString, QString, QString);
   void sendHello();
   void sendJoin();
+  void sendLeave();
   void replot();
   void updateRosterList(QStringList);