new name after fork

This commit is contained in:
2026-01-05 23:12:38 -07:00
parent ca43595430
commit 4683ef705b
316 changed files with 5422 additions and 6141 deletions

View File

@@ -38,18 +38,18 @@
#include <sys/stat.h>
#include <fcntl.h>
#include "hexchat.h"
#include "zoitechat.h"
#include "plugin.h"
#include "ignore.h"
#include "util.h"
#include "fe.h"
#include "cfgfiles.h" /* hexchat_fopen_file() */
#include "cfgfiles.h" /* zoitechat_fopen_file() */
#include "network.h" /* net_ip() */
#include "modes.h"
#include "notify.h"
#include "inbound.h"
#include "text.h"
#include "hexchatc.h"
#include "zoitechatc.h"
#include "servlist.h"
#include "server.h"
#include "tree.h"
@@ -85,7 +85,7 @@ random_line (char *file_name)
if (!file_name[0])
goto nofile;
fh = hexchat_fopen_file (file_name, "r", 0);
fh = zoitechat_fopen_file (file_name, "r", 0);
if (!fh)
{
nofile:
@@ -1942,7 +1942,7 @@ cmd_exec (struct session *sess, char *tbuf, char *word[], char *word_eol[])
static int
cmd_exportconf (struct session *sess, char *tbuf, char *word[], char *word_eol[])
{
/* this is pretty much the same as in hexchat_exit() */
/* this is pretty much the same as in zoitechat_exit() */
save_config ();
if (prefs.save_pevents)
{
@@ -2500,7 +2500,7 @@ cmd_kickban (struct session *sess, char *tbuf, char *word[], char *word_eol[])
static int
cmd_killall (struct session *sess, char *tbuf, char *word[], char *word_eol[])
{
hexchat_exit();
zoitechat_exit();
return 2;
}
@@ -2585,7 +2585,7 @@ load_perform_file (session *sess, char *file)
char *nl;
FILE *fp;
fp = hexchat_fopen_file (file, "r", 0); /* load files from config dir */
fp = zoitechat_fopen_file (file, "r", 0); /* load files from config dir */
if (!fp)
return FALSE;
@@ -3628,7 +3628,7 @@ cmd_tray (struct session *sess, char *tbuf, char *word[], char *word_eol[])
if (!word[3][0])
{
fe_tray_set_file (NULL); /* default HexChat icon */
fe_tray_set_file (NULL); /* default ZoiteChat icon */
return TRUE;
}
@@ -4019,7 +4019,7 @@ const struct commands xc_cmds[] = {
#endif
#endif
#if 0
{"EXPORTCONF", cmd_exportconf, 0, 0, 1, N_("EXPORTCONF, exports HexChat settings")},
{"EXPORTCONF", cmd_exportconf, 0, 0, 1, N_("EXPORTCONF, exports ZoiteChat settings")},
#endif
{"FLUSHQ", cmd_flushq, 0, 0, 1,
N_("FLUSHQ, flushes the current server's send queue")},
@@ -4070,7 +4070,7 @@ const struct commands xc_cmds[] = {
{"ME", cmd_me, 0, 0, 1,
N_("ME <action>, sends the action to the current channel (actions are written in the 3rd person, like /me jumps)")},
{"MENU", cmd_menu, 0, 0, 1, "MENU [-eX] [-i<ICONFILE>] [-k<mod>,<key>] [-m] [-pX] [-r<X,group>] [-tX] {ADD|DEL} <path> [command] [unselect command]\n"
" See http://hexchat.readthedocs.org/en/latest/plugins.html#controlling-the-gui for more details."},
" See http://zoitechat.readthedocs.org/en/latest/plugins.html#controlling-the-gui for more details."},
{"MHOP", cmd_mhop, 1, 1, 1,
N_("MHOP, Mass hop's all users in the current channel (needs chanop)")},
{"MKICK", cmd_mkick, 1, 1, 1,
@@ -4112,7 +4112,7 @@ const struct commands xc_cmds[] = {
{"RECONNECT", cmd_reconnect, 0, 0, 1,
N_("RECONNECT [<host>] [<port>] [<password>], Can be called just as /RECONNECT to reconnect to the current server or with /RECONNECT ALL to reconnect to all the open servers")},
#endif
{"RECV", cmd_recv, 1, 0, 1, N_("RECV <text>, send raw data to HexChat, as if it was received from the IRC server")},
{"RECV", cmd_recv, 1, 0, 1, N_("RECV <text>, send raw data to ZoiteChat, as if it was received from the IRC server")},
{"RELOAD", cmd_reload, 0, 0, 1, N_("RELOAD <name>, reloads a plugin or script")},
{"SAY", cmd_say, 0, 0, 1,
N_("SAY <text>, sends the text to the object in the current window")},