summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}