From ca431c5bc81957090c39107bb25a20aba0d94b5c Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 22 Apr 2007 10:38:36 +0000 Subject: Send numeric when item doesnt exist on remove git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6824 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_silence.cpp | 2 ++ src/modules/m_silence_ext.cpp | 2 ++ 2 files changed, 4 insertions(+) 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 == '+') { -- cgit v1.2.3