1
0
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:
rburchell
2009-02-12 22:34:34 +00:00
parent b75fadf73d
commit 61cf1f325f
+2 -1
View File
@@ -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);