1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-29 00:26:38 +02:00

Made alias{}'s get rehashed

This commit is contained in:
codemastr
2002-11-24 23:32:25 +00:00
parent a21df7fcf5
commit b87f79a271
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -1678,3 +1678,4 @@ seen. gmtime warning still there
report errors better
- Fixed sendto_ routines to use slot number as index into sentalong array
- Fixed a conf3 bug
- Made alias {}'s get rehashed
+1 -2
View File
@@ -1333,7 +1333,6 @@ void config_rehash()
DelListItem(log_ptr, conf_log);
MyFree(log_ptr);
}
/* FIX
for (alias_ptr = conf_alias; alias_ptr; alias_ptr = (ConfigItem_alias *)next) {
aCommand *cmptr = find_Command(alias_ptr->alias, 0, 0);
ConfigItem_alias_format *fmt;
@@ -1346,6 +1345,7 @@ void config_rehash()
{
next2 = (ListStruct *)fmt->next;
ircfree(fmt->format);
ircfree(fmt->nick);
ircfree(fmt->parameters);
DelListItem(fmt, alias_ptr->format);
MyFree(fmt);
@@ -1354,7 +1354,6 @@ void config_rehash()
DelListItem(alias_ptr, conf_alias);
MyFree(alias_ptr);
}
*/
for (include_ptr = conf_include; include_ptr; include_ptr = (ConfigItem_include *)next)
{
next = (ListStruct *)include_ptr->next;