summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-02-03 16:34:19 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-02-03 16:34:19 +0100
commit960d10cad065e628953fd81e1a78e513c7b2e4c4 (patch)
tree1d9bccf5090e28afc96d337111de8d7519b3d20b /src
parent1e0753e08bc5fbaa6ec4436b0b47c589cce4abcd (diff)
downloadweechat-960d10cad065e628953fd81e1a78e513c7b2e4c4.zip
Removed option "-command" for command "/server" in IRC plugin
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-command.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 530ad07d9..74646e2a5 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -2657,20 +2657,6 @@ irc_command_server (void *data, struct t_gui_buffer *buffer, int argc,
}
server_tmp.realname = strdup (argv[++i]);
}
- if (weechat_strcasecmp (argv[i], "-command") == 0)
- {
- if (i == (argc - 1))
- {
- weechat_printf (NULL,
- _("%s%s: missing argument for "
- "\"%s\" option"),
- weechat_prefix ("error"), "irc",
- "-command");
- irc_server_free_data (&server_tmp);
- return WEECHAT_RC_ERROR;
- }
- server_tmp.command = strdup (argv[++i]);
- }
if (weechat_strcasecmp (argv[i], "-autojoin") == 0)
{
if (i == (argc - 1))
@@ -3827,7 +3813,7 @@ irc_command_init ()
"[add servername hostname[/port] [-temp] "
"[-auto | -noauto] [-ipv6] [-ssl] [-pwd password] "
"[-nicks nick1,nick2,...] [-username username] "
- "[-realname realname] [-command command] "
+ "[-realname realname] "
"[-autojoin channel[,channel]] ] | "
"[copy servername newservername] | "
"[rename servername newservername] | "