1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 13:33:13 +02:00

Fixed another alias {} bug

This commit is contained in:
codemastr
2001-08-19 22:36:13 +00:00
parent 85a0944914
commit ceb76ae6da
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -808,3 +808,4 @@ seen. gmtime warning still there
- Disabled #undef PROPER_CORE
- Added alias {} to doc/example.conf
- Fixed a bug in alias {} found by RaYmAn
- Fixed another alias {} bug
+1 -1
View File
@@ -3265,7 +3265,7 @@ void validate_configuration(void)
}
else {
for (alias_ptr = conf_alias; alias_ptr; alias_ptr = (ConfigItem_alias *)alias_ptr->next) {
if (!BadPtr(alias_ptr->nick))
if (BadPtr(alias_ptr->nick))
ircstrdup(alias_ptr->nick, alias_ptr->alias);
if (alias_ptr->type != ALIAS_SERVICES && alias_ptr->type != ALIAS_STATS && alias_ptr->type != ALIAS_NORMAL) {
alias_ptr->type = ALIAS_SERVICES;