summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/common/weeconfig.c2
-rw-r--r--weechat/ChangeLog1
-rw-r--r--weechat/src/common/weeconfig.c2
4 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 859712b36..7110f5745 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ ChangeLog - 2004-10-03
Version 0.0.8 (under dev!):
+ * fixed bug when adding alias with same name as other
* /buffer command developed (buffers list, move and notify)
* logging buffers to disk (server/channel/private according to user prefs)
* Away now announced in channels, and config option "look_display_away" added
diff --git a/src/common/weeconfig.c b/src/common/weeconfig.c
index e08833175..ddf275d89 100644
--- a/src/common/weeconfig.c
+++ b/src/common/weeconfig.c
@@ -981,7 +981,7 @@ config_read ()
if (section == CONFIG_SECTION_ALIAS)
{
if (alias_new (line, pos))
- index_command_new (pos);
+ index_command_new (line);
}
else
{
diff --git a/weechat/ChangeLog b/weechat/ChangeLog
index 859712b36..7110f5745 100644
--- a/weechat/ChangeLog
+++ b/weechat/ChangeLog
@@ -5,6 +5,7 @@ ChangeLog - 2004-10-03
Version 0.0.8 (under dev!):
+ * fixed bug when adding alias with same name as other
* /buffer command developed (buffers list, move and notify)
* logging buffers to disk (server/channel/private according to user prefs)
* Away now announced in channels, and config option "look_display_away" added
diff --git a/weechat/src/common/weeconfig.c b/weechat/src/common/weeconfig.c
index e08833175..ddf275d89 100644
--- a/weechat/src/common/weeconfig.c
+++ b/weechat/src/common/weeconfig.c
@@ -981,7 +981,7 @@ config_read ()
if (section == CONFIG_SECTION_ALIAS)
{
if (alias_new (line, pos))
- index_command_new (pos);
+ index_command_new (line);
}
else
{