aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/iset.cpp
blob: 470eddfcfd7125984ba91b9342cbae249a1f4853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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;
}