1
0
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:
adam-
2009-08-03 23:42:20 +00:00
parent b8b891cc25
commit 0d7e0274a4
+2 -1
View File
@@ -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+");