summaryrefslogtreecommitdiff
path: root/src/modules
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
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')
-rw-r--r--src/modules/m_sapart.cpp4
-rw-r--r--src/modules/m_saquit.cpp4
2 files changed, 8 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;
}
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp
index 388846803..ef7c54358 100644
--- a/src/modules/m_saquit.cpp
+++ b/src/modules/m_saquit.cpp
@@ -64,6 +64,10 @@ class cmd_saquit : public command_t
return CMD_SUCCESS;
}
+ else
+ {
+ user->WriteServ("NOTICE %s :*** Invalid nickname '%s'", user->nick, parameters[0]);
+ }
return CMD_FAILURE;
}