From deb5196101bb14d6656fb89b9ec9e5f8b96eb31d Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sun, 8 Apr 2012 12:43:34 +0200 Subject: Added Chanstats. It uses a new, improved database format and is not compatible with current phpdenora or magirc installations. --- modules/protocol/plexus.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/protocol/plexus.cpp') 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::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 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; -- cgit