From 6286f2c2415dee69c91ae4820a06e5b0b961671b Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Fri, 16 Apr 2010 14:43:30 -0500 Subject: Get rid of char* argument for channel name --- src/modules/m_ojoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ojoin.cpp') 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) { -- cgit v1.3.1-10-gc9f91