equal
deleted
inserted
replaced
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 } |