mcabber/src/commands.c
changeset 1130 b2040a7fb7fc
parent 1126 771eb6aa2d41
child 1135 5d7c05932b13
equal deleted inserted replaced
1129:1a109ebf3f24 1130:b2040a7fb7fc
   980 static void do_say(char *arg)
   980 static void do_say(char *arg)
   981 {
   981 {
   982   gpointer bud;
   982   gpointer bud;
   983 
   983 
   984   scr_set_chatmode(TRUE);
   984   scr_set_chatmode(TRUE);
       
   985   scr_ShowBuddyWindow();
   985 
   986 
   986   if (!current_buddy) {
   987   if (!current_buddy) {
   987     scr_LogPrint(LPRINT_NORMAL,
   988     scr_LogPrint(LPRINT_NORMAL,
   988                  "Whom are you talking to?  Please select a buddy.");
   989                  "Whom are you talking to?  Please select a buddy.");
   989     return;
   990     return;
  1071                  "Use \"%s begin\" first.", mkcmdstr("msay"));
  1072                  "Use \"%s begin\" first.", mkcmdstr("msay"));
  1072     goto do_msay_return;
  1073     goto do_msay_return;
  1073   }
  1074   }
  1074 
  1075 
  1075   scr_set_chatmode(TRUE);
  1076   scr_set_chatmode(TRUE);
       
  1077   scr_ShowBuddyWindow();
  1076 
  1078 
  1077   if (!strcasecmp(subcmd, "send_to")) {
  1079   if (!strcasecmp(subcmd, "send_to")) {
  1078     int err = FALSE;
  1080     int err = FALSE;
  1079     gchar *msg_utf8;
  1081     gchar *msg_utf8;
  1080     // Let's send to the specified JID.  We leave now if there
  1082     // Let's send to the specified JID.  We leave now if there