aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/iset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/iset.cpp')
-rw-r--r--FICS/iset.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/FICS/iset.cpp b/FICS/iset.cpp
new file mode 100644
index 0000000..afe084c
--- /dev/null
+++ b/FICS/iset.cpp
@@ -0,0 +1,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;
+}