summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-29 06:44:21 +0000
committerspecial <special@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-29 06:44:21 +0000
commit5c415b0571855d42d067bc1553028eac378ef1d5 (patch)
tree7dbb05b3d2ed038a85080738966df7fa9c926c10 /src
parent5da606a02777de3d91f3b88d278ce49cadb67af5 (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')
-rw-r--r--src/modules/m_sajoin.cpp7
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;
+ }
}
};