diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-09 21:43:05 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-09 21:43:05 +0000 |
commit | 5a8e55a8e4b0142273a7d6c0d37d9fecd3c4ada9 (patch) | |
tree | ca093436d510ab0762c084a8acede8f54e884aa7 /src/modules | |
parent | c11ec1cd3867fc6759fadb8143df676406b3e3e7 (diff) |
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
Diffstat (limited to 'src/modules')
-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 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<std::string> modes; modes.push_back(parameters[0]); |