diff options
| author | 2010-04-16 14:43:30 -0500 | |
|---|---|---|
| committer | 2010-08-03 17:32:42 -0400 | |
| commit | 6286f2c2415dee69c91ae4820a06e5b0b961671b (patch) | |
| tree | 21b9ed5ef94e57868f9bb19a23ca0339619fb7a9 /src/modules/m_ojoin.cpp | |
| parent | Fix cloak key being misread in 2.0 cloaking modes (diff) | |
Get rid of char* argument for channel name
Diffstat (limited to 'src/modules/m_ojoin.cpp')
| -rw-r--r-- | src/modules/m_ojoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp index 1b4bff5be..f9ec4dbde 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -152,7 +152,7 @@ class ModuleOjoin : public Module ServerInstance->Modules->Attach(eventlist, this, 3); } - 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 (mycommand.active) { |
