diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-22 10:38:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-22 10:38:36 +0000 |
commit | ca431c5bc81957090c39107bb25a20aba0d94b5c (patch) | |
tree | 053c220b1684fdb7d3b19676c7dba8632a56e961 /src/modules | |
parent | 9eadffd061f3586247a42f470a957142d6173889 (diff) |
Send numeric when item doesnt exist on remove
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6824 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_silence.cpp | 2 | ||||
-rw-r--r-- | src/modules/m_silence_ext.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 9aa891129..58188fd1f 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -92,6 +92,8 @@ class cmd_silence : public command_t user->Shrink("silence_list"); } } + else + user->WriteServ("952 %s %s :%s does not exist on your silence list",user->nick, user->nick, mask.c_str()); } } else if (action == '+') diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index 8b40c90bb..c75a72c3d 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -134,6 +134,8 @@ class cmd_silence : public command_t } } } + user->WriteServ("952 %s %s :%s %s does not exist on your silence list",user->nick, user->nick, pattern.c_str(), + DecompPattern(pattern).c_str()); } else if (action == '+') { |