summaryrefslogtreecommitdiff
path: root/src/common/weeconfig.c
diff options
context:
space:
mode:
authorEmmanuel Bouthenot <kolter@openics.org>2006-02-16 09:51:08 +0000
committerEmmanuel Bouthenot <kolter@openics.org>2006-02-16 09:51:08 +0000
commita62a002522c5341a483e7058aba761001377b439 (patch)
tree74defb357fa801d6ff907555f5b1a8ee433a4f53 /src/common/weeconfig.c
parentf79653db8e7ae88f136da365ad588411918a263b (diff)
downloadweechat-a62a002522c5341a483e7058aba761001377b439.zip
clean code while parsing commands in server_command and make possible to run many (irc or weechat) commands with alias
Diffstat (limited to 'src/common/weeconfig.c')
-rw-r--r--src/common/weeconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c
index 99e4099f6..0cf3af771 100644
--- a/src/common/weeconfig.c
+++ b/src/common/weeconfig.c
@@ -2367,7 +2367,7 @@ config_write (char *config_name)
ptr_alias = ptr_alias->next_alias)
{
fprintf (file, "%s = \"%s\"\n",
- ptr_alias->alias_name, ptr_alias->alias_command + 1);
+ ptr_alias->alias_name, ptr_alias->alias_command);
}
/* ignore section */