diff options
author | jamie <jamie@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-02 11:15:35 +0000 |
---|---|---|
committer | jamie <jamie@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-10-02 11:15:35 +0000 |
commit | 4273e2cfb52b76298fbf0e69e7f3bddcaac1762a (patch) | |
tree | ac06779b7a9e465b4998cb79aded750e1e170539 /src | |
parent | ab634a1167307dce7ecdf72b4a295995de195edc (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_sajoin.cpp | 4 |
1 files 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; } } |