summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-buffer.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-04-07 18:22:09 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-04-07 18:22:09 +0200
commit8ac00cdac6ba3a2caf9a7b282701e3bb22c988de (patch)
treec83a769c48b7682df37ac2ab61e2fda75d75527b /src/plugins/irc/irc-buffer.c
parent3aeb24cf1dcfead638b14a8c855128ee7f7f45c2 (diff)
downloadweechat-8ac00cdac6ba3a2caf9a7b282701e3bb22c988de.zip
Some improvements on key bindings
List of changes: - do not automatically create default keys if they do not exist, when reading weechat.conf (let user do that if needed) - add "/key missing": add missing keys using default keys (do not update or remove user keys), - key "meta-s" moved from irc/jabber plugins to core - improved output of /key (display number of keys)
Diffstat (limited to 'src/plugins/irc/irc-buffer.c')
-rw-r--r--src/plugins/irc/irc-buffer.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/irc/irc-buffer.c b/src/plugins/irc/irc-buffer.c
index 2539d3b21..8d6989a09 100644
--- a/src/plugins/irc/irc-buffer.c
+++ b/src/plugins/irc/irc-buffer.c
@@ -185,8 +185,6 @@ irc_buffer_merge_servers ()
"name", IRC_BUFFER_ALL_SERVERS_NAME);
weechat_buffer_set (irc_buffer_servers,
"short_name", IRC_BUFFER_ALL_SERVERS_NAME);
- weechat_buffer_set (irc_buffer_servers, "key_bind_meta-s",
- "/command irc /server switch");
weechat_buffer_set (irc_buffer_servers,
"localvar_set_server", IRC_BUFFER_ALL_SERVERS_NAME);
weechat_buffer_set (irc_buffer_servers,
@@ -230,11 +228,6 @@ irc_buffer_split_server ()
struct t_irc_server *ptr_server;
char buffer_name[256], charset_modifier[256];
- if (irc_buffer_servers)
- {
- weechat_buffer_set (irc_buffer_servers, "key_unbind_meta-s", "");
- }
-
for (ptr_server = irc_servers; ptr_server;
ptr_server = ptr_server->next_server)
{