1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

irc: reallow names beginning with "#" for servers

This commit is contained in:
Sebastien Helleu
2012-06-04 18:19:31 +02:00
parent e79c7cf7d9
commit 89b676f653
2 changed files with 1 additions and 7 deletions
+1
View File
@@ -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)
--------------------------
-7
View File
@@ -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)