summaryrefslogtreecommitdiff
path: root/src/common/command.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-04-11 09:55:40 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-04-11 09:55:40 +0000
commit69730a21ddc2f867e0dd69fc2b34179f87aeecdb (patch)
tree32edb8f7845d81dcefc43504e331f2b82fde79de /src/common/command.c
parentd6459aa638078f5e934a17dcecc4693226f7ee9f (diff)
downloadweechat-69730a21ddc2f867e0dd69fc2b34179f87aeecdb.zip
Removed charset conversion for commands (only allowed in text sent to channel/private)
Diffstat (limited to 'src/common/command.c')
-rw-r--r--src/common/command.c7
1 files changed, 1 insertions, 6 deletions
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
{