From 5c415b0571855d42d067bc1553028eac378ef1d5 Mon Sep 17 00:00:00 2001 From: special Date: Wed, 29 Nov 2006 06:44:21 +0000 Subject: Added a missing error message to SAJOIN - thanks Mitch git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5824 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sajoin.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/m_sajoin.cpp b/src/modules/m_sajoin.cpp index 6f91b8864..c175e0721 100644 --- a/src/modules/m_sajoin.cpp +++ b/src/modules/m_sajoin.cpp @@ -77,8 +77,11 @@ class cmd_sajoin : public command_t return CMD_FAILURE; } } - - return CMD_FAILURE; + else + { + user->WriteServ("NOTICE "+std::string(user->nick)+" :*** No such nickname "+parameters[0]); + return CMD_FAILURE; + } } }; -- cgit v1.2.3