]> code.citadel.org Git - citadel.git/blobdiff - daphne/citclient.cpp
* citclient.cpp: different IDEN string depending on __WXMSW__ etc.
[citadel.git] / daphne / citclient.cpp
index ef4e2fcc5572c39281ca3d88f6345d2e32d0ed43..1625e842732c3e1e65de997e658ce42e05e82b8e 100644 (file)
@@ -1,3 +1,5 @@
+// $Id$
+
 #include "includes.hpp"
 #include <wx/protocol/protocol.h>
 
@@ -272,7 +274,15 @@ void CitClient::initialize_session(void)  {
 
        CurrentRoom = "";
 
-       sendcmd = "IDEN 0|6|001|Daphne";
+#ifdef __WXMSW__
+       sendcmd = "IDEN 0|6|001|Daphne (Windows)";
+#elif defined(__WXGTK__)
+       sendcmd - "IDEN 0|6|001|Daphne (GTK)";
+#elif defined(__WXMOTIF__)
+       sendcmd = "IDEN 0|6|001|Daphne (Motif)";
+#else
+       sendcmd = "IDEN 0|6|001|Daphne (Unknown window system)";
+#endif
        serv_trans(sendcmd);
 
        sendcmd = "INFO";