aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/iset.cpp
blob: afe084ca0c3dc69a65186da4e18b65b34ce5a80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// SPDX-FileCopyrightText: 2024 Markus Uhlin <maxxe@rpblc.net>
// SPDX-License-Identifier: ISC

#include "stdinclude.h"
#include "common.h"

#include "iset.h"
#include "utils.h"

PUBLIC int
com_iset(int p, param_list param)
{
	if (param[0].type != TYPE_WORD ||
	    param[1].type != TYPE_WORD) {
		pprintf(p, "%s: bad parameters\n", __func__);
		return COM_BADPARAMETERS;
	}

	pprintf(p, "%s: %s %s\n", __func__,
	    param[0].val.word,
	    param[1].val.word);
	return COM_OK;
}