comparison mcabber/src/settings.c @ 1359:7daf906fbcdc

The command /quit can be used in bindings, hooks and sourced files (It used to work in bindings only)
author Mikael Berthe <mikael@lilotux.net>
date Sun, 11 Nov 2007 13:05:57 +0100
parents 005df14df743
children d9606bd03144
comparison
equal deleted inserted replaced
1358:005df14df743 1359:7daf906fbcdc
196 continue; 196 continue;
197 } 197 }
198 // Set the leading COMMAND_CHAR to build a command line 198 // Set the leading COMMAND_CHAR to build a command line
199 // and process the command 199 // and process the command
200 *(--line) = COMMAND_CHAR; 200 *(--line) = COMMAND_CHAR;
201 process_command(line, TRUE); 201 if (process_command(line, TRUE) == 255)
202 mcabber_set_terminate_ui();
202 } else { 203 } else {
203 scr_LogPrint(LPRINT_LOGNORM, "Error in configuration file (l. %d): " 204 scr_LogPrint(LPRINT_LOGNORM, "Error in configuration file (l. %d): "
204 "this is not an assignment", ln); 205 "this is not an assignment", ln);
205 err++; 206 err++;
206 } 207 }