summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2012-04-08 12:43:34 +0200
committerDukePyrolator <DukePyrolator@anope.org>2012-04-08 12:43:34 +0200
commitdeb5196101bb14d6656fb89b9ec9e5f8b96eb31d (patch)
tree733001e6fc4af6cb2a42915d586e448dde742f77 /modules/protocol/unreal.cpp
parent9e1fda2a44dee120e26acc6e51fbe779eea97712 (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/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp8
1 files changed, 4 insertions, 4 deletions
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);