aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--FICS/iset.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/FICS/iset.cpp b/FICS/iset.cpp
index da687ab..470eddf 100644
--- a/FICS/iset.cpp
+++ b/FICS/iset.cpp
@@ -2,11 +2,19 @@
#include "common.h"
#include "iset.h"
+#include "utils.h"
PUBLIC int
com_iset(int p, param_list param)
{
- (void) p;
- (void) 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;
}