From 1cb05553e286227e6bbd463d0b4b8cae40ff3940 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 1 Apr 2013 02:13:43 +0200 Subject: Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser() to std::string from char* --- 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 8f8d3ca90..207be2bb5 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -193,7 +193,7 @@ class ModuleOjoin : 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 (mycommand.active) { -- cgit v1.3.1-10-gc9f91