xB: fix up the special IPC command's name
To reflect the new disorder.
This commit is contained in:
@@ -1964,12 +1964,12 @@ read_message (void)
|
||||
|
||||
// --- Interfacing with the bot ------------------------------------------------
|
||||
|
||||
#define BOT_PRINT "ZYKLONB print :script: "
|
||||
#define BOT_PRINT "XB print :script: "
|
||||
|
||||
static const char *
|
||||
get_config (const char *key)
|
||||
{
|
||||
printf ("ZYKLONB get_config :%s\r\n", key);
|
||||
printf ("XB get_config :%s\r\n", key);
|
||||
struct message *msg = read_message ();
|
||||
if (!msg || msg->n_params <= 0)
|
||||
exit (EXIT_FAILURE);
|
||||
@@ -2298,7 +2298,7 @@ main (int argc, char *argv[])
|
||||
printf (BOT_PRINT "%s\r\n", "runtime library initialization failed");
|
||||
|
||||
g_prefix = strdup (get_config ("prefix"));
|
||||
printf ("ZYKLONB register\r\n");
|
||||
printf ("XB register\r\n");
|
||||
struct message *msg;
|
||||
while ((msg = read_message ()))
|
||||
process_message (msg);
|
||||
|
||||
Reference in New Issue
Block a user