mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
Fix a use-before-initialisation in core_info.
Signed-off-by: GermanAizek <GermanAizek@yandex.ru>
This commit is contained in:
parent
805dbd4def
commit
899899ea11
@ -48,9 +48,9 @@ class CoreModInfo : public Module
|
||||
CommandMotd cmdmotd;
|
||||
CommandServList cmdservlist;
|
||||
CommandTime cmdtime;
|
||||
ISupportManager isupport;
|
||||
CommandVersion cmdversion;
|
||||
Numeric::Numeric numeric004;
|
||||
ISupportManager isupport;
|
||||
|
||||
|
||||
/** Returns a list of user or channel mode characters.
|
||||
@ -97,9 +97,9 @@ class CoreModInfo : public Module
|
||||
, cmdmotd(this)
|
||||
, cmdservlist(this)
|
||||
, cmdtime(this)
|
||||
, isupport(this)
|
||||
, cmdversion(this, isupport)
|
||||
, numeric004(RPL_MYINFO)
|
||||
, isupport(this)
|
||||
{
|
||||
numeric004.push(ServerInstance->Config->ServerName);
|
||||
numeric004.push(INSPIRCD_BRANCH);
|
||||
|
Loading…
x
Reference in New Issue
Block a user