diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | doc/en/autogen/user/irc_commands.txt | 18 | ||||
-rw-r--r-- | doc/fr/autogen/user/irc_commands.txt | 18 | ||||
-rw-r--r-- | doc/it/autogen/user/irc_commands.txt | 18 | ||||
-rw-r--r-- | src/plugins/irc/irc-command.c | 71 |
5 files changed, 0 insertions, 126 deletions
@@ -63,7 +63,6 @@ Version 0.3.2 (under dev!) * irc: add option irc.look.item_channel_modes_hide_key to hide channel key in channel modes (bug #23961) * irc: add option irc.look.item_nick_prefix -* irc: add commands /omode and /forcejoin (patch #7126) * irc: add command /map * irc: add missing commands 276, 343 * irc: fix compilation with old GnuTLS versions (bug #28723) diff --git a/doc/en/autogen/user/irc_commands.txt b/doc/en/autogen/user/irc_commands.txt index 650f405b5..bd86471fb 100644 --- a/doc/en/autogen/user/irc_commands.txt +++ b/doc/en/autogen/user/irc_commands.txt @@ -133,15 +133,6 @@ servername: server name to disconnect ........................................ -• *`/forcejoin`* `nickname channel[,channel]`:: - -........................................ - forces a user to join channel(s) - - nickname: nickname - channel: channel name -........................................ - • *`/halfop`* `[nickname [nickname]]`:: ........................................ @@ -351,15 +342,6 @@ text: text to send ........................................ -• *`/omode`* `channel mode`:: - -........................................ - change mode on channel, without having operator status - - channel: channel name - mode: mode for channel -........................................ - • *`/op`* `nickname [nickname]`:: ........................................ diff --git a/doc/fr/autogen/user/irc_commands.txt b/doc/fr/autogen/user/irc_commands.txt index cbacf0d2c..df6e5b67c 100644 --- a/doc/fr/autogen/user/irc_commands.txt +++ b/doc/fr/autogen/user/irc_commands.txt @@ -133,15 +133,6 @@ nom_serveur: nom du serveur pour se déconnecter ........................................ -• *`/forcejoin`* `pseudo canal[,canal]`:: - -........................................ - force un utilisateur à rejoindre un ou plusieurs canaux - - pseudo: pseudo - canal: canal -........................................ - • *`/halfop`* `[pseudo [pseudo]]`:: ........................................ @@ -351,15 +342,6 @@ texte: texte à envoyer ........................................ -• *`/omode`* `mode canal`:: - -........................................ - changer le mode du canal, sans avoir le statut opérateur - - canal: nom du canal - mode: mode pour le canal -........................................ - • *`/op`* `pseudo [pseudo]`:: ........................................ diff --git a/doc/it/autogen/user/irc_commands.txt b/doc/it/autogen/user/irc_commands.txt index 6a8cc708c..fa4665f2c 100644 --- a/doc/it/autogen/user/irc_commands.txt +++ b/doc/it/autogen/user/irc_commands.txt @@ -132,15 +132,6 @@ nome_server: nome del server da cui disconnettersi ........................................ -• *`/forcejoin`* `nick canale[,canale]`:: - -........................................ - forza un utente ad entrare su uno o più canali - - nick: nick - canale: nome del canale -........................................ - • *`/halfop`* `[nick [nick]]`:: ........................................ @@ -350,15 +341,6 @@ testo: testo da inviare ........................................ -• *`/omode`* `canale modalità`:: - -........................................ - cambia modalità sul canale, senza avere lo status di operatore - - canale: nome del canale - modalità: modalità per il canale -........................................ - • *`/op`* `nick [nick]`:: ........................................ diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index d9b4e0489..40594f014 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -1367,34 +1367,6 @@ irc_command_disconnect (void *data, struct t_gui_buffer *buffer, int argc, } /* - * irc_command_forcejoin: forces a user to join channel(s) - * (this is the equivalent to /sajoin on some IRCd's) - */ - -int -irc_command_forcejoin (void *data, struct t_gui_buffer *buffer, int argc, - char **argv, char **argv_eol) -{ - IRC_BUFFER_GET_SERVER_CHANNEL(buffer); - IRC_COMMAND_CHECK_SERVER("forcejoin", 1); - - /* make C compiler happy */ - (void) data; - - if (argc > 2) - { - irc_server_sendf (ptr_server, IRC_SERVER_OUTQUEUE_PRIO_HIGH, - "FORCEJOIN %s %s", argv[1], argv_eol[2]); - } - else - { - IRC_COMMAND_TOO_FEW_ARGUMENTS(ptr_server->buffer, "forcejoin"); - } - - return WEECHAT_RC_OK; -} - -/* * irc_command_halfop: give half operator privileges to nickname(s) */ @@ -2581,34 +2553,6 @@ irc_command_notice (void *data, struct t_gui_buffer *buffer, int argc, } /* - * irc_command_omode: change mode on channel, without having operator status - * (this is the equivalent to /sajoin on some IRCd's) - */ - -int -irc_command_omode (void *data, struct t_gui_buffer *buffer, int argc, - char **argv, char **argv_eol) -{ - IRC_BUFFER_GET_SERVER_CHANNEL(buffer); - IRC_COMMAND_CHECK_SERVER("omode", 1); - - /* make C compiler happy */ - (void) data; - - if (argc > 2) - { - irc_server_sendf (ptr_server, IRC_SERVER_OUTQUEUE_PRIO_HIGH, - "OMODE %s %s", argv[1], argv_eol[2]); - } - else - { - IRC_COMMAND_TOO_FEW_ARGUMENTS(ptr_server->buffer, "omode"); - } - - return WEECHAT_RC_OK; -} - -/* * irc_command_op: give operator privileges to nickname(s) */ @@ -4332,12 +4276,6 @@ irc_command_init () "-all" " || %(irc_servers)|%*", &irc_command_disconnect, NULL); - weechat_hook_command ("forcejoin", - N_("forces a user to join channel(s)"), - N_("nickname channel[,channel]"), - N_("nickname: nickname\n" - " channel: channel name"), - "%(nicks) %(irc_server_channels)", &irc_command_forcejoin, NULL); weechat_hook_command ("halfop", N_("give half channel operator status to " "nickname(s)"), @@ -4518,15 +4456,6 @@ irc_command_init () "nickname: user to send notice to\n" " text: text to send"), "%(nicks) %-", &irc_command_notice, NULL); - weechat_hook_command ("omode", - N_("change mode on channel, without having operator " - "status"), - /* TRANSLATORS: "channel" and "mode" are arguments - for command, translate them separately */ - N_("channel mode"), - N_("channel: channel name\n" - " mode: mode for channel"), - "%(irc_server_channels)", &irc_command_omode, NULL); weechat_hook_command ("op", N_("give channel operator status to nickname(s)"), N_("nickname [nickname]"), |