mirror of
https://github.com/anope/anope.git
synced 2026-07-09 06:03:14 +02:00
Correctly save Numeric to TS6SID.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1521 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -145,7 +145,7 @@ IRCDVar myIrcd[] = {
|
||||
0, /* Can remove User Channel Modes with SVSMODE */
|
||||
0, /* Sglines are not enforced until user reconnects */
|
||||
"x", /* vhost char */
|
||||
0, /* ts6 */
|
||||
1, /* ts6 */
|
||||
1, /* support helper umode */
|
||||
0, /* p10 */
|
||||
NULL, /* character set */
|
||||
@@ -1283,11 +1283,12 @@ int AnopeInit(int argc, char **argv)
|
||||
{
|
||||
|
||||
moduleAddAuthor("Anope");
|
||||
moduleAddVersion
|
||||
("$Id$");
|
||||
moduleAddVersion("$Id$");
|
||||
moduleSetType(PROTOCOL);
|
||||
|
||||
pmodule_ircd_version("inspircdIRCd 1.1");
|
||||
TS6SID = sstrdup(Numeric);
|
||||
|
||||
pmodule_ircd_version("InspIRCd 1.1");
|
||||
pmodule_ircd_cap(myIrcdcap);
|
||||
pmodule_ircd_var(myIrcd);
|
||||
pmodule_ircd_cbmodeinfos(myCbmodeinfos);
|
||||
|
||||
@@ -608,7 +608,10 @@ void ts6_uid_increment(unsigned int slot)
|
||||
char *ts6_uid_retrieve(void)
|
||||
{
|
||||
if (UseTS6 == 0)
|
||||
{
|
||||
alog("TS6 disabled, returning nothing");
|
||||
return "";
|
||||
}
|
||||
|
||||
if (ts6_uid_initted != 1)
|
||||
ts6_uid_init();
|
||||
|
||||
Reference in New Issue
Block a user