From 69730a21ddc2f867e0dd69fc2b34179f87aeecdb Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 11 Apr 2006 09:55:40 +0000 Subject: [PATCH] Removed charset conversion for commands (only allowed in text sent to channel/private) --- ChangeLog | 6 +++--- src/common/command.c | 7 +------ weechat/ChangeLog | 6 +++--- weechat/src/common/command.c | 7 +------ 4 files changed, 8 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index be876f083..c8f8c0b97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,11 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2006-04-10 +ChangeLog - 2006-04-11 Version 0.1.9 (under dev!): - * removed color encoding in commands (only allowed in text sent to - channel/private) + * removed color encoding and charset conversion for commands (only + allowed in text sent to channel/private) * added hostnames associeted to nicks (available for /ban completion) * added "+p" mode for channels, fixed mode display in status bar * added nick alignment options diff --git a/src/common/command.c b/src/common/command.c index ecf378aa4..e103dbd4b 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -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 { diff --git a/weechat/ChangeLog b/weechat/ChangeLog index be876f083..c8f8c0b97 100644 --- a/weechat/ChangeLog +++ b/weechat/ChangeLog @@ -1,11 +1,11 @@ WeeChat - Wee Enhanced Environment for Chat =========================================== -ChangeLog - 2006-04-10 +ChangeLog - 2006-04-11 Version 0.1.9 (under dev!): - * removed color encoding in commands (only allowed in text sent to - channel/private) + * removed color encoding and charset conversion for commands (only + allowed in text sent to channel/private) * added hostnames associeted to nicks (available for /ban completion) * added "+p" mode for channels, fixed mode display in status bar * added nick alignment options diff --git a/weechat/src/common/command.c b/weechat/src/common/command.c index ecf378aa4..e103dbd4b 100644 --- a/weechat/src/common/command.c +++ b/weechat/src/common/command.c @@ -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 {