aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_operjoin.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2013-05-18 12:03:55 -0700
committerGravatar Attila Molnar2013-05-18 12:03:55 -0700
commit8f27fefa75e2952e7ab8757eb9fe4af4586817f0 (patch)
tree752def83ea80788d6a04fb8cc8358146915e7c4a /src/modules/m_operjoin.cpp
parentMerge pull request #541 from SaberUK/master+chanlog (diff)
parentRemove the size argument from IsChannel and IsNick. (diff)
Merge pull request #543 from SaberUK/master+sizeparam-removal
Remove the size argument from IsChannel and IsNick.
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r--src/modules/m_operjoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index faeeb8b55..e890c3afb 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -83,7 +83,7 @@ class ModuleOperjoin : public Module
return;
for (std::vector<std::string>::const_iterator i = operChans.begin(); i != operChans.end(); ++i)
- if (ServerInstance->IsChannel(*i, ServerInstance->Config->Limits.ChanMax))
+ if (ServerInstance->IsChannel(*i))
Channel::JoinUser(localuser, *i, override);
std::string chanList = localuser->oper->getConfig("autojoin");
@@ -93,7 +93,7 @@ class ModuleOperjoin : public Module
tokenize(chanList, typechans);
for (std::vector<std::string>::const_iterator it = typechans.begin(); it != typechans.end(); ++it)
{
- if (ServerInstance->IsChannel(*it, ServerInstance->Config->Limits.ChanMax))
+ if (ServerInstance->IsChannel(*it))
{
Channel::JoinUser(localuser, *it, override);
}