mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 07:02:12 +02:00
/IRCNET command.
PARAM_FLAG_NOQUOTES flag for cmd_get_params() git-svn-id: http://svn.irssi.org/repos/irssi/trunk@290 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ee46dc71ab
commit
a7f5540cba
15 changed files with 173 additions and 68 deletions
|
|
@ -203,7 +203,7 @@ int quitmsg_is_split(const char *msg)
|
|||
|
||||
/* get the two hosts */
|
||||
ok = FALSE;
|
||||
params = cmd_get_params(msg, 2, &host1, &host2);
|
||||
params = cmd_get_params(msg, 2 | PARAM_FLAG_NOQUOTES, &host1, &host2);
|
||||
if (g_strcasecmp(host1, host2) != 0) { /* hosts can't be same.. */
|
||||
/* check that domain length is 2 or 3 */
|
||||
p = strrchr(host1, '.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue