mcabber/src/commands.c
changeset 98 f20831f7d349
parent 96 8b2703ccc4be
child 101 4f3ad00b5187
equal deleted inserted replaced
97:191f4d00d19b 98:f20831f7d349
   119 // If this isn't a command, this is a message and it is sent to the
   119 // If this isn't a command, this is a message and it is sent to the
   120 // currently selected buddy.
   120 // currently selected buddy.
   121 int process_line(char *line)
   121 int process_line(char *line)
   122 {
   122 {
   123   if (*line != '/') {
   123   if (*line != '/') {
   124     send_message(line);
   124     send_message(line); // FIXME: are we talking to a _buddy_?
   125     return 0;
   125     return 0;
   126   }
   126   }
   127   if (!strcasecmp(line, "/quit")) {
   127   if (!strcasecmp(line, "/quit")) {
   128     return 255;
   128     return 255;
   129   }
   129   }