Changeset fa4f9c3 for commands.c


Ignore:
Timestamp:
Oct 14, 2007, 6:16:44 PM (13 years ago)
Author:
Matthew S. Goldstein <austein@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
cf39d9f
Parents:
944004c
Message:
aimwrite -m displays according to displayoutgoing
File:
1 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r944004c rfa4f9c3  
    132132  OWLCMD_ARGS("aimwrite", owl_command_aimwrite, OWL_CTX_INTERACTIVE,
    133133              "send an AIM message",
    134               "aimzwrite <user> [-m <message...>]",
     134              "aimwrite <user> [-m <message...>]",
    135135              "Send an aim message to a user.\n\n"
    136136              "The following options are available:\n\n"
    137               "-m    Specifies a message to send without prompting.\n"
    138               "      Note that this does not yet log an outgoing message.\n"
    139               "      or display the sent message.\n"),
     137              "-m    Specifies a message to send without prompting.\n"),
    140138
    141139  OWLCMD_ARGS("loopwrite", owl_command_loopwrite, OWL_CTX_INTERACTIVE,
     
    18921890  char *newbuff, *recip, **myargv;
    18931891  int i, j, myargc;
     1892  owl_message *m;
    18941893 
    18951894  if (!owl_global_is_aimloggedin(&g)) {
     
    19361935      sprintf(recip, "%s ", argv[1]);
    19371936      owl_aim_send_im(recip, newbuff);
     1937      m=owl_function_make_outgoing_aim(newbuff, recip);
     1938      if (m) {
     1939          owl_global_messagequeue_addmsg(&g, m);
     1940      } else {
     1941          owl_function_error("Could not create outgoing AIM message");
     1942      }
     1943
    19381944      owl_free(recip);
    19391945      owl_free(newbuff);
Note: See TracChangeset for help on using the changeset viewer.