1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

Removed charset conversion for commands (only allowed in text sent to channel/private)

This commit is contained in:
Sebastien Helleu
2006-04-11 09:55:40 +00:00
parent d6459aa638
commit 69730a21dd
4 changed files with 8 additions and 18 deletions
+1 -6
View File
@@ -954,12 +954,7 @@ user_command (t_irc_server *server, t_irc_channel *channel, char *command, int o
if ((command[0] == '/') && (command[1] != '/'))
{
/* WeeChat internal command (or IRC command) */
command_encoded = channel_iconv_encode (server, channel, command);
(void) exec_weechat_command (server, channel,
(command_encoded) ? command_encoded : command,
only_builtin);
if (command_encoded)
free (command_encoded);
(void) exec_weechat_command (server, channel, command, only_builtin);
}
else
{