From 89b676f653ffd41b8d803c1d0e731507756773a7 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 4 Jun 2012 18:19:31 +0200 Subject: [PATCH] irc: reallow names beginning with "#" for servers --- ChangeLog | 1 + src/plugins/irc/irc-command.c | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index d1f611191..ba9449914 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ Version 0.3.9 (under dev!) * core: reallow names beginning with "#" for bars, proxies and filters * core: escape special chars (`#[\`) in configuration files for name of options (bug #36584) +* irc: reallow names beginning with "#" for servers Version 0.3.8 (2012-06-03) -------------------------- diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 11bec2b98..f15ffdd2e 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -3852,13 +3852,6 @@ irc_command_server (void *data, struct t_gui_buffer *buffer, int argc, ptr_server2->name); return WEECHAT_RC_OK; } - if (argv[2][0] == '#') - { - weechat_printf (NULL, - _("%s%s: name can not start with \"#\""), - weechat_prefix ("error"), IRC_PLUGIN_NAME); - return WEECHAT_RC_OK; - } new_server = irc_server_alloc (argv[2]); if (!new_server)