From 5a8e55a8e4b0142273a7d6c0d37d9fecd3c4ada9 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 9 Sep 2009 21:43:05 +0000 Subject: Fix segfault when using ojoin in already-joined channel git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11689 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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 6d036d96a..a71f9f822 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -87,7 +87,7 @@ class CommandOjoin : public Command } else { - ServerInstance->SNO->WriteGlobalSno('a', std::string(user->nick)+" used OJOIN in "+channel->name); + ServerInstance->SNO->WriteGlobalSno('a', std::string(user->nick)+" used OJOIN in "+parameters[0]); // they're already in the channel std::vector modes; modes.push_back(parameters[0]); -- cgit v1.2.3