From d729d2a0e4496b0e28b39ea04d2cd6b9f41b922d Mon Sep 17 00:00:00 2001 From: codemastr Date: Mon, 17 Feb 2003 20:03:55 +0000 Subject: [PATCH] Fixed an alias bug --- Changes | 2 ++ src/s_conf.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index d343a5ca9..a0c665050 100644 --- a/Changes +++ b/Changes @@ -1919,3 +1919,5 @@ seen. gmtime warning still there - Removed some leftover +I code - Fixed a bug in /who where +s was case sensitive. Reported by jollino (#0000736) - Removed some debugging messages +- Fixed an alias bug reported by darko`` where alias::format::type of "normal" produced + an error. diff --git a/src/s_conf.c b/src/s_conf.c index d817540be..8c516e211 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -5538,9 +5538,9 @@ int _test_alias(ConfigFile *conf, ConfigEntry *ce) { { if (!strcmp(cepp->ce_vardata, "services")) ; - else if (!strcmp(cep->ce_vardata, "stats")) + else if (!strcmp(cepp->ce_vardata, "stats")) ; - else if (!strcmp(cep->ce_vardata, "normal")) + else if (!strcmp(cepp->ce_vardata, "normal")) ; else { config_status("%s:%i: unknown alias type",