mirror of
https://github.com/anope/anope.git
synced 2026-06-28 14:56:38 +02:00
Fix a crash in the ratbox protocol module when Numeric is not defined in the conf
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2403 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -1147,7 +1147,8 @@ class ProtoRatbox : public Module
|
||||
this->SetVersion("$Id$");
|
||||
this->SetType(PROTOCOL);
|
||||
|
||||
TS6SID = sstrdup(Numeric);
|
||||
if (Numeric)
|
||||
TS6SID = sstrdup(Numeric);
|
||||
UseTSMODE = 1; /* TMODE */
|
||||
|
||||
pmodule_ircd_version("Ratbox IRCD 2.0+");
|
||||
|
||||
Reference in New Issue
Block a user