git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1450
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
2005-07-15 Michael Poole <mdpoole@troilus.org>
+ * ircd/ircd_features.c (feature_init): Always call
+ feature_notify_server*() so that 'his' is initialized.
+
* ircd/m_whois.c (do_whois): Unswap sense of comparison to choose
between user->server and &his.
{
int i;
- cli_magic(&his) = CLIENT_MAGIC;
- cli_status(&his) = STAT_SERVER;
-
for (i = 0; features[i].type; i++) {
switch (features[i].flags & FEAT_MASK) {
case FEAT_NONE: /* you're on your own */
break;
}
}
+
+ cli_magic(&his) = CLIENT_MAGIC;
+ cli_status(&his) = STAT_SERVER;
+ feature_notify_servername();
+ feature_notify_serverinfo();
}
/** Report all F-lines to a user.