changeset 1359 | 7daf906fbcdc |
parent 1356 | 7794d76ca90e |
child 1360 | 8613d3f4ae91 |
--- a/mcabber/src/commands.c Sun Nov 11 12:22:41 2007 +0100 +++ b/mcabber/src/commands.c Sun Nov 11 13:05:57 2007 +0100 @@ -386,6 +386,12 @@ g_free(xpline); return 255; } + } else if (iscmd && !strncasecmp(xpline, "quit", 4) && + (!xpline[4] || xpline[4] == ' ')) { + // If iscmd is true we can have the command without the command prefix + // character (usually '/'). + g_free(xpline); + return 255; } // If verbatim multi-line mode, we check if another /msay command is typed