1
0
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:
Robin Burchell w00t@inspircd.org
2008-11-03 21:59:38 +00:00
parent 1886c72d7a
commit 30031e6ea5
2 changed files with 8 additions and 4 deletions
+5 -4
View File
@@ -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);
+3
View File
@@ -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();