summaryrefslogtreecommitdiff
path: root/src/modules/m_sapart.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-29 22:01:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-11-29 22:01:04 +0000
commit241a1e075cd923c259600e134c3359bdc4a1c7ee (patch)
treec21bee062ec424f82e55d1171f788eb8c3a87359 /src/modules/m_sapart.cpp
parent5c415b0571855d42d067bc1553028eac378ef1d5 (diff)
Add fix suggested by mitch to show when nicks dont exist
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5825 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_sapart.cpp')
-rw-r--r--src/modules/m_sapart.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp
index 9f4e245da..b0f0f9d1c 100644
--- a/src/modules/m_sapart.cpp
+++ b/src/modules/m_sapart.cpp
@@ -72,6 +72,10 @@ class cmd_sapart : public command_t
return CMD_SUCCESS;
}
+ else
+ {
+ user->WriteServ("NOTICE %s :*** Invalid nickname or channel", user->nick);
+ }
return CMD_FAILURE;
}