diff options
| author | DukePyrolator <DukePyrolator@anope.org> | 2012-04-08 12:43:34 +0200 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@anope.org> | 2012-04-08 12:43:34 +0200 |
| commit | deb5196101bb14d6656fb89b9ec9e5f8b96eb31d (patch) | |
| tree | 733001e6fc4af6cb2a42915d586e448dde742f77 /modules/protocol | |
| parent | 9e1fda2a44dee120e26acc6e51fbe779eea97712 (diff) | |
Added Chanstats. It uses a new, improved database format and is not compatible with current phpdenora or magirc installations.
Diffstat (limited to 'modules/protocol')
| -rw-r--r-- | modules/protocol/bahamut.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/inspircd-ts6.h | 2 | ||||
| -rw-r--r-- | modules/protocol/inspircd11.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/plexus.cpp | 8 | ||||
| -rw-r--r-- | modules/protocol/ratbox.cpp | 8 | ||||
| -rw-r--r-- | modules/protocol/unreal.cpp | 8 |
6 files changed, 15 insertions, 15 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index a26669a9b..ebb5c75ff 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -475,7 +475,7 @@ class BahamutIRCdMessage : public IRCdMessage * This will enforce secureops etc on the user */ for (std::list<ChannelMode *>::iterator it = Status.begin(), it_end = Status.end(); it != it_end; ++it) - c->SetModeInternal(*it, buf); + c->SetModeInternal(NULL, *it, buf); /* Now set whatever modes this user is allowed to have on the channel */ chan_set_correct_modes(u, c, 1); diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index 964232080..21b8f6ad0 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -468,7 +468,7 @@ class InspircdIRCdMessage : public IRCdMessage * This will enforce secureops etc on the user */ for (std::list<ChannelMode *>::iterator it = Status.begin(), it_end = Status.end(); it != it_end; ++it) - c->SetModeInternal(*it, buf); + c->SetModeInternal(NULL, *it, buf); /* Now set whatever modes this user is allowed to have on the channel */ chan_set_correct_modes(u, c, 1); diff --git a/modules/protocol/inspircd11.cpp b/modules/protocol/inspircd11.cpp index f4c8c2202..615a733bd 100644 --- a/modules/protocol/inspircd11.cpp +++ b/modules/protocol/inspircd11.cpp @@ -718,7 +718,7 @@ class InspircdIRCdMessage : public IRCdMessage * This will enforce secureops etc on the user */ for (std::list<ChannelMode *>::iterator it = Status.begin(), it_end = Status.end(); it != it_end; ++it) - c->SetModeInternal(*it, buf); + c->SetModeInternal(NULL, *it, buf); /* Now set whatever modes this user is allowed to have on the channel */ chan_set_correct_modes(u, c, 1); diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 3a4d92a8e..33de15861 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -408,7 +408,7 @@ class PlexusIRCdMessage : public IRCdMessage * This will enforce secureops etc on the user */ for (std::list<ChannelMode *>::iterator it = Status.begin(), it_end = Status.end(); it != it_end; ++it) - c->SetModeInternal(*it, buf); + c->SetModeInternal(NULL, *it, buf); /* Now set whatever modes this user is allowed to have on the channel */ chan_set_correct_modes(u, c, 1); @@ -514,11 +514,11 @@ bool event_bmask(const Anope::string &source, const std::vector<Anope::string> & { Anope::string b = myStrGetToken(bans, ' ', i); if (ban && params[2].equals_cs("b")) - c->SetModeInternal(ban, b); + c->SetModeInternal(NULL, ban, b); else if (except && params[2].equals_cs("e")) - c->SetModeInternal(except, b); + c->SetModeInternal(NULL, except, b); if (invex && params[2].equals_cs("I")) - c->SetModeInternal(invex, b); + c->SetModeInternal(NULL, invex, b); } } return true; diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index ed871480d..b277396c9 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -381,7 +381,7 @@ class RatboxIRCdMessage : public IRCdMessage * This will enforce secureops etc on the user */ for (std::list<ChannelMode *>::iterator it = Status.begin(), it_end = Status.end(); it != it_end; ++it) - c->SetModeInternal(*it, buf); + c->SetModeInternal(NULL, *it, buf); /* Now set whatever modes this user is allowed to have on the channel */ chan_set_correct_modes(u, c, 1); @@ -505,11 +505,11 @@ bool event_bmask(const Anope::string &source, const std::vector<Anope::string> & { Anope::string b = myStrGetToken(bans, ' ', i); if (ban && params[2].equals_cs("b")) - c->SetModeInternal(ban, b); + c->SetModeInternal(NULL, ban, b); else if (except && params[2].equals_cs("e")) - c->SetModeInternal(except, b); + c->SetModeInternal(NULL, except, b); if (invex && params[2].equals_cs("I")) - c->SetModeInternal(invex, b); + c->SetModeInternal(NULL, invex, b); } } return true; diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index b5088af48..6a7970341 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -879,19 +879,19 @@ class Unreal32IRCdMessage : public IRCdMessage if (keep_their_modes && ban && buf[0] == '&') { buf.erase(buf.begin()); - c->SetModeInternal(ban, buf); + c->SetModeInternal(NULL, ban, buf); } /* Except */ else if (keep_their_modes && except && buf[0] == '"') { buf.erase(buf.begin()); - c->SetModeInternal(except, buf); + c->SetModeInternal(NULL, except, buf); } /* Invex */ else if (keep_their_modes && invex && buf[0] == '\'') { buf.erase(buf.begin()); - c->SetModeInternal(invex, buf); + c->SetModeInternal(NULL, invex, buf); } else { @@ -930,7 +930,7 @@ class Unreal32IRCdMessage : public IRCdMessage * This will enforce secureops etc on the user */ for (std::list<ChannelMode *>::iterator it = Status.begin(), it_end = Status.end(); it != it_end; ++it) - c->SetModeInternal(*it, buf); + c->SetModeInternal(NULL, *it, buf); /* Now set whatever modes this user is allowed to have on the channel */ chan_set_correct_modes(u, c, 1); |
