aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_operprefix.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-04-01 02:13:43 +0200
committerGravatar attilamolnar2013-04-01 02:13:43 +0200
commit1cb05553e286227e6bbd463d0b4b8cae40ff3940 (patch)
treed8c211e91ce29fcaf94dc3a4bf1814200804509c /src/modules/m_operprefix.cpp
parentRewrote caller.h to be more C++11 ish, currently commented out pending whenev... (diff)
downloadinspircd++-1cb05553e286227e6bbd463d0b4b8cae40ff3940.tar.gz
inspircd++-1cb05553e286227e6bbd463d0b4b8cae40ff3940.tar.bz2
inspircd++-1cb05553e286227e6bbd463d0b4b8cae40ff3940.zip
Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser() to std::string from char*
Diffstat (limited to 'src/modules/m_operprefix.cpp')
-rw-r--r--src/modules/m_operprefix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp
index b6e6b893b..b0ca38555 100644
--- a/src/modules/m_operprefix.cpp
+++ b/src/modules/m_operprefix.cpp
@@ -97,7 +97,7 @@ class ModuleOperPrefixMode : public Module
mw_added = ServerInstance->Modes->AddModeWatcher(&hideoperwatcher);
}
- ModResult OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string& privs, const std::string& keygiven)
+ ModResult OnUserPreJoin(User* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven)
{
/* The user may have the +H umode on himself, but +H does not necessarily correspond
* to the +H of m_hideoper.