diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-29 06:44:21 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-29 06:44:21 +0000 |
commit | 5c415b0571855d42d067bc1553028eac378ef1d5 (patch) | |
tree | 7dbb05b3d2ed038a85080738966df7fa9c926c10 /src/modules/m_sajoin.cpp | |
parent | 5da606a02777de3d91f3b88d278ce49cadb67af5 (diff) |
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
Diffstat (limited to 'src/modules/m_sajoin.cpp')
-rw-r--r-- | src/modules/m_sajoin.cpp | 7 |
1 files 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; + } } }; |