Removed the <.W>holist <R>oomname and <.W>holist <H>ostname commands from the text...
authorArt Cancro <ajc@citadel.org>
Thu, 14 Mar 2019 19:10:34 +0000 (15:10 -0400)
committerArt Cancro <ajc@citadel.org>
Thu, 14 Mar 2019 19:10:34 +0000 (15:10 -0400)
textclient/citadel.c
textclient/citadel.rc
textclient/citadel_ipc.c
textclient/textclient.h

index edb79e081499de63950d8670829fd8322f771f70..b63f07d4b99c7a72a8855b4308922029c6fcc6d5 100644 (file)
@@ -1847,18 +1847,6 @@ int main(int argc, char **argv)
                        case 73:
                                cli_image_upload(ipc, "_roompic_");
                                break;
-                       case 75:
-                               enternew(ipc, "roomname", aaa, 20);
-                               r = CtdlIPCChangeRoomname(ipc, aaa, bbb);
-                               if (r / 100 != 2)
-                                       scr_printf("\n%s\n", bbb);
-                               break;
-                       case 76:
-                               enternew(ipc, "hostname", aaa, 25);
-                               r = CtdlIPCChangeHostname(ipc, aaa, bbb);
-                               if (r / 100 != 2)
-                                       scr_printf("\n%s\n", bbb);
-                               break;
                        case 77:
                                enternew(ipc, "username", aaa, 32);
                                r = CtdlIPCChangeUsername(ipc, aaa, bbb);
index fb2dc0755826394a3fd7750508e4f9c16e87dc0a..09792b05453c1cbcd8f450857abb92039c7faa85 100644 (file)
@@ -315,8 +315,6 @@ cmd=66,0,&.,&Enter,&Bio
 cmd=67,0,&.,&Read,&Bio
 
 cmd=79,0,&.,&Wholist,&Long
-cmd=75,0,&.,&Wholist,&Roomname
-cmd=76,0,&.,&Wholist,&Hostname
 cmd=91,0,&.,&Wholist,&Active
 cmd=93,0,&.,&Wholist,&Stealth mode
 
index e67b29c5813cbdae3502fc3bdb7d1d70081a3f34..5b34772fcfc3a7be9a843e79a4aeb41060034815 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1987-2018 by the citadel.org team
+ * Copyright (c) 1987-2019 by the citadel.org team
  *
  *  This program is open source software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 3.
@@ -1957,50 +1957,6 @@ int CtdlIPCEnterSystemMessage(CtdlIPC * ipc, const char *filename, const char *t
 }
 
 
-/* HCHG */
-int CtdlIPCChangeHostname(CtdlIPC * ipc, const char *hostname, char *cret)
-{
-       int ret;
-       char *aaa;
-
-       if (!cret)
-               return -2;
-       if (!hostname)
-               return -2;
-
-       aaa = (char *) malloc(strlen(hostname) + 6);
-       if (!aaa)
-               return -1;
-
-       sprintf(aaa, "HCHG %s", hostname);
-       ret = CtdlIPCGenericCommand(ipc, aaa, NULL, 0, NULL, NULL, cret);
-       free(aaa);
-       return ret;
-}
-
-
-/* RCHG */
-int CtdlIPCChangeRoomname(CtdlIPC * ipc, const char *roomname, char *cret)
-{
-       int ret;
-       char *aaa;
-
-       if (!cret)
-               return -2;
-       if (!roomname)
-               return -2;
-
-       aaa = (char *) malloc(strlen(roomname) + 6);
-       if (!aaa)
-               return -1;
-
-       sprintf(aaa, "RCHG %s", roomname);
-       ret = CtdlIPCGenericCommand(ipc, aaa, NULL, 0, NULL, NULL, cret);
-       free(aaa);
-       return ret;
-}
-
-
 /* UCHG */
 int CtdlIPCChangeUsername(CtdlIPC * ipc, const char *username, char *cret)
 {
index 0dfb14c76d2b5b95c02ec66aefd47e214e2626e0..3c84830ffb4ae58e777d1935fe32b38e4f649e9a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1987-2018 by the citadel.org team
+ * Copyright (c) 1987-2019 by the citadel.org team
  *
  *  This program is open source software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License version 3.
@@ -479,8 +479,6 @@ int CtdlIPCTerminateSession(CtdlIPC *ipc, int sid, char *cret);
 int CtdlIPCTerminateServerNow(CtdlIPC *ipc, char *cret);
 int CtdlIPCTerminateServerScheduled(CtdlIPC *ipc, int mode, char *cret);
 int CtdlIPCEnterSystemMessage(CtdlIPC *ipc, const char *filename, const char *text, char *cret);
-int CtdlIPCChangeHostname(CtdlIPC *ipc, const char *hostname, char *cret);
-int CtdlIPCChangeRoomname(CtdlIPC *ipc, const char *roomname, char *cret);
 int CtdlIPCChangeUsername(CtdlIPC *ipc, const char *username, char *cret);
 time_t CtdlIPCServerTime(CtdlIPC *ipc, char *crert);
 int CtdlIPCAideGetUserParameters(CtdlIPC *ipc, const char *who, struct ctdluser **uret, char *cret);