From 4273e2cfb52b76298fbf0e69e7f3bddcaac1762a Mon Sep 17 00:00:00 2001 From: jamie Date: Mon, 2 Oct 2006 11:15:35 +0000 Subject: Fix SAJOIN notices to show target instead of source nick git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5393 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sajoin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index abf2b5d07..e025b5e3e 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -68,13 +68,13 @@ class cmd_sajoin : public command_t } else { - user->WriteServ("NOTICE "+std::string(user->nick)+" :*** Could not join "+std::string(user->nick)+" to "+parameters[1]+" (User is probably banned, or blocking modes)"); + user->WriteServ("NOTICE "+std::string(user->nick)+" :*** Could not join "+std::string(dest->nick)+" to "+parameters[1]+" (User is probably banned, or blocking modes)"); return CMD_FAILURE; } } else { - user->WriteServ("NOTICE "+std::string(user->nick)+" :*** Could not join "+std::string(user->nick)+" to "+parameters[1]); + user->WriteServ("NOTICE "+std::string(user->nick)+" :*** Could not join "+std::string(dest->nick)+" to "+parameters[1]); return CMD_FAILURE; } } -- cgit v1.2.3