diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-01 02:13:43 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-01 02:13:43 +0200 |
commit | 1cb05553e286227e6bbd463d0b4b8cae40ff3940 (patch) | |
tree | d8c211e91ce29fcaf94dc3a4bf1814200804509c /src/modules/m_joinflood.cpp | |
parent | 9b9140d5f8a94ba160120ab91821338f08fba6e1 (diff) |
Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser() to std::string from char*
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r-- | src/modules/m_joinflood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 0c68da1fb..8fcb2dd12 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -208,7 +208,7 @@ class ModuleJoinFlood : public Module ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } - 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) { if (chan) { |