diff options
author | Adam <Adam@anope.org> | 2010-08-28 02:25:33 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-28 02:25:33 -0400 |
commit | 5fbe0c845c00161fd62e1f2f65354553f42ef831 (patch) | |
tree | 67e62259051b993d852cf45963e54b6854921c77 /modules/protocol/ratbox.cpp | |
parent | 2aac8b05ef7e539c9745edc1f64564ada87ca02d (diff) |
Clean up some of the old now unused IRCDVar struct vars, and made the logchan bots join if the IRCd requires them to
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r-- | modules/protocol/ratbox.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index b45f1121a..db5c4d5bd 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -18,13 +18,11 @@ IRCDVar myIrcd[] = { {"Ratbox 2.0+", /* ircd name */ "+oi", /* Modes used by pseudoclients */ 2, /* Chan Max Symbols */ - "+o", /* Channel Umode used by Botserv bots */ 0, /* SVSNICK */ 0, /* Vhost */ 1, /* Supports SNlines */ 1, /* Supports SQlines */ 0, /* Supports SZlines */ - 3, /* Number of server args */ 1, /* Join 2 Set */ 1, /* Join 2 Message */ 0, /* TS Topic Forward */ @@ -40,13 +38,10 @@ IRCDVar myIrcd[] = { 0, /* UMODE */ 0, /* O:LINE */ 0, /* VHOST ON NICK */ - 0, /* Change RealName */ 0, /* No Knock requires +i */ - 0, /* We support TOKENS */ 0, /* Can remove User Channel Modes with SVSMODE */ 0, /* Sglines are not enforced until user reconnects */ 1, /* ts6 */ - 0, /* p10 */ 0, /* CIDR channelbans */ "$$", /* TLD Prefix for Global */ 4, /* Max number of modes we can send per line */ @@ -793,14 +788,11 @@ class ProtoRatbox : public Module if (!Config->Numeric.empty()) TS6SID = Config->Numeric; - UseTSMODE = 1; /* TMODE */ - pmodule_ircd_version("Ratbox IRCD 2.0+"); pmodule_ircd_var(myIrcd); - pmodule_ircd_useTSMode(1); - CapabType c[] = { CAPAB_ZIP, CAPAB_TS5, CAPAB_QS, CAPAB_UID, CAPAB_KNOCK }; - for (unsigned i = 0; i < 5; ++i) + CapabType c[] = { CAPAB_ZIP, CAPAB_TS5, CAPAB_QS, CAPAB_UID, CAPAB_KNOCK, CAPAB_TSMODE }; + for (unsigned i = 0; i < 6; ++i) Capab.SetFlag(c[i]); AddModes(); |