diff options
author | Adam <Adam@anope.org> | 2012-11-16 00:03:15 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-16 00:03:15 -0500 |
commit | 5d6fb2427e2c396239b854951ad4b8d4e3952657 (patch) | |
tree | 7ba24105fae1615fb972ccf7d02e34b27327a51c /modules/protocol/ngircd.cpp | |
parent | ad3d1d381a29598338c4687ca1a7a334a9fc71d5 (diff) |
Fixed some stuff spotted by Cronus, made db_old convert ACCESS_INVALID levels to ACCESS_FOUNDER, fix cs_enforce +R from an earlier commit, fixed ChangeModeInternal TS checking when IRCds don't send TS on mode
Diffstat (limited to 'modules/protocol/ngircd.cpp')
-rw-r--r-- | modules/protocol/ngircd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp index 0caf23381..006ddc7a1 100644 --- a/modules/protocol/ngircd.cpp +++ b/modules/protocol/ngircd.cpp @@ -255,7 +255,7 @@ struct IRCDMessageChaninfo : IRCDMessage c->ChangeTopicInternal(source.GetName(), params[4], Anope::CurTime); } - c->SetModesInternal(source, modes, c->creation_time, true); + c->SetModesInternal(source, modes); return true; } }; @@ -302,7 +302,7 @@ struct IRCDMessageJoin : IRCDMessage chan->JoinUser(user); if (!modes.empty()) - chan->SetModesInternal(source, modes, chan->creation_time); + chan->SetModesInternal(source, modes); /* Set the proper modes on the user */ chan_set_correct_modes(user, chan, 1, true); @@ -353,7 +353,7 @@ struct IRCDMessageMode : IRCDMessage Channel *c = findchan(params[0]); if (c) - c->SetModesInternal(source, modes, c->creation_time); + c->SetModesInternal(source, modes); } else { |