mirror of
https://github.com/anope/anope.git
synced 2026-06-28 03:56:38 +02:00
insp12: don't try sstrdup() a NULL argument if sid is not set.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2029 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -1368,7 +1368,8 @@ class ProtoInspIRCd : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
TS6SID = sstrdup(Numeric);
|
||||
if (Numeric)
|
||||
TS6SID = sstrdup(Numeric);
|
||||
|
||||
pmodule_ircd_version("InspIRCd 1.2");
|
||||
pmodule_ircd_cap(myIrcdcap);
|
||||
|
||||
Reference in New Issue
Block a user