diff options
| author | 2013-04-01 02:13:43 +0200 | |
|---|---|---|
| committer | 2013-04-01 02:13:43 +0200 | |
| commit | 1cb05553e286227e6bbd463d0b4b8cae40ff3940 (patch) | |
| tree | d8c211e91ce29fcaf94dc3a4bf1814200804509c /src/modules.cpp | |
| parent | Rewrote caller.h to be more C++11 ish, currently commented out pending whenev... (diff) | |
| download | inspircd++-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.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 4e4d20c70..b8a831c48 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -95,7 +95,7 @@ void Module::OnUserPart(Membership*, std::string&, CUList&) { } void Module::OnPreRehash(User*, const std::string&) { } void Module::OnModuleRehash(User*, const std::string&) { } void Module::OnRehash(User*) { } -ModResult Module::OnUserPreJoin(User*, Channel*, const char*, std::string&, const std::string&) { return MOD_RES_PASSTHRU; } +ModResult Module::OnUserPreJoin(User*, Channel*, const std::string&, std::string&, const std::string&) { return MOD_RES_PASSTHRU; } void Module::OnMode(User*, void*, int, const std::vector<std::string>&, const std::vector<TranslateType>&) { } void Module::OnOper(User*, const std::string&) { } void Module::OnPostOper(User*, const std::string&, const std::string &) { } |
