Cleanups around WANT_CHAN_NICK.

Remove unused function declaration, add SERVERREQ flag to CHANSERV command and remove IRCIIHELP
command that no server has provided in a long time, as far as I can tell.


git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@523 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2014-11-04 10:05:58 +00:00
parent eb5f767d53
commit 78aeaeb1cb

View File

@@ -204,10 +204,6 @@ BUILT_IN_COMMAND(os2submenu);
BUILT_IN_COMMAND(pmcodepage); BUILT_IN_COMMAND(pmcodepage);
#endif #endif
#ifdef WANT_CHAN_NICK_SERV
BUILT_IN_COMMAND(e_server);
#endif
#ifdef ALLOW_DETACH #ifdef ALLOW_DETACH
BUILT_IN_COMMAND(detachcmd); BUILT_IN_COMMAND(detachcmd);
#endif #endif
@@ -277,7 +273,7 @@ IrcCommand irc_command[] =
#endif #endif
{ "CHANNEL", "JOIN", e_channel, SERVERREQ, "- Shows information on the channels, modes and server you are on" }, { "CHANNEL", "JOIN", e_channel, SERVERREQ, "- Shows information on the channels, modes and server you are on" },
#ifdef WANT_CHAN_NICK_SERV #ifdef WANT_CHAN_NICK_SERV
{ "CHANSERV", "CHANSERV", send_comm, 0, NULL }, { "CHANSERV", "CHANSERV", send_comm, SERVERREQ, NULL },
#endif #endif
{ "CHANST", NULL, channel_stats, SERVERREQ, "%Y<%n-ALL%Y> %R[%Bchannel%R]%n\n- Shows statistics on current channel or %R[%Bchannel%R]%n" }, { "CHANST", NULL, channel_stats, SERVERREQ, "%Y<%n-ALL%Y> %R[%Bchannel%R]%n\n- Shows statistics on current channel or %R[%Bchannel%R]%n" },
{ "CHAT", "Chat", chat, SERVERREQ, "%Y<%nNick%Y>%n\n- Attempts to dcc chat nick" }, { "CHAT", "Chat", chat, SERVERREQ, "%Y<%nNick%Y>%n\n- Attempts to dcc chat nick" },
@@ -413,9 +409,6 @@ IrcCommand irc_command[] =
{ "INPUT", "Input", inputcmd, 0, scripting_command }, { "INPUT", "Input", inputcmd, 0, scripting_command },
{ "INPUT_CHAR", "Input_Char", inputcmd, 0, scripting_command }, { "INPUT_CHAR", "Input_Char", inputcmd, 0, scripting_command },
{ "INVITE", "INVITE", do_invite, SERVERREQ, "%Y<%Cnick%Y>%n %R[%Bchannel%R]%n\n- Invites %Y<%Cnick%Y>%n to current channel or %R[%Bchannel%R]%n" }, { "INVITE", "INVITE", do_invite, SERVERREQ, "%Y<%Cnick%Y>%n %R[%Bchannel%R]%n\n- Invites %Y<%Cnick%Y>%n to current channel or %R[%Bchannel%R]%n" },
#ifdef WANT_CHAN_NICK_SERV
{ "IRCIIHELP", "IRCIIHELP", send_comm, SERVERREQ, NULL },
#endif
{ "IRCHOST", "HOSTNAME", e_hostname, 0, "%Y<%nhostname%Y>%n\n- Shows list of possible hostnames with option to change it on virtual hosts" }, { "IRCHOST", "HOSTNAME", e_hostname, 0, "%Y<%nhostname%Y>%n\n- Shows list of possible hostnames with option to change it on virtual hosts" },
{ "IRCNAME", NULL, realname_cmd, 0, NULL }, { "IRCNAME", NULL, realname_cmd, 0, NULL },
{ "IRCUSER", NULL, set_username, 0, "<username>\n- Changes your <username>" }, { "IRCUSER", NULL, set_username, 0, "<username>\n- Changes your <username>" },