diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 01:16:26 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 01:16:26 +0000 |
commit | 6d835a6e49d41d8353ee8506dc6d7cf7b3f1047a (patch) | |
tree | 0600d11b587c41bd43e4cd37dbaab99220c34117 /src/protocol/inspircd12.cpp | |
parent | 2c9f2eb991467197762d39b6a7eaf688c55520b3 (diff) |
Edit IRCDVar of inspircd12 so certain modules don't load on that IRCd, and small cosmetic fixes on a few other protocol modules.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2052 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/inspircd12.cpp')
-rw-r--r-- | src/protocol/inspircd12.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index 231b99631..70b89aa25 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -89,13 +89,13 @@ IRCDVar myIrcd[] = { NULL, /* Mode on ID for Opers */ "-r", /* Mode on UnReg */ "-r", /* Mode on Nick Change */ - 1, /* Supports SGlines */ + 0, /* Supports SGlines */ 1, /* Supports SQlines */ 1, /* Supports SZlines */ 1, /* Supports Halfop +h */ 4, /* Number of server args */ 0, /* Join 2 Set */ - 1, /* Join 2 Message */ + 0, /* Join 2 Message */ 0, /* Has exceptions +e */ 1, /* TS Topic Forward */ 0, /* TS Topci Backward */ @@ -112,7 +112,7 @@ IRCDVar myIrcd[] = { 1, /* svshold */ 0, /* time stamp on mode */ 0, /* NICKIP */ - 1, /* O:LINE */ + 0, /* O:LINE */ 1, /* UMODE */ 1, /* VHOST ON NICK */ 0, /* Change RealName */ @@ -547,11 +547,9 @@ class InspIRCdProto : public IRCDProto { User *u = finduser(user); if (buf) - send_cmd(source->uid, "KICK %s %s :%s", chan, u->GetUID().c_str() -, buf); + send_cmd(source->uid, "KICK %s %s :%s", chan, u->GetUID().c_str(), buf); else - send_cmd(source->uid, "KICK %s %s :%s", chan, u->GetUID().c_str() -, user); + send_cmd(source->uid, "KICK %s %s :%s", chan, u->GetUID().c_str(), user); } void SendNoticeChanopsInternal(BotInfo *source, const char *dest, const char *buf) |