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:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user