From c99ec633b3365c68420e4d567d7797bd5e709e28 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 22 Apr 2007 22:38:18 +0000 Subject: Fix crash if trying to remove pattern that does not exist. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6829 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_silence_ext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index 627742e8b..9b93e56f4 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -134,8 +134,7 @@ 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, - DecompPattern(pattern).c_str()); + user->WriteServ("952 %s %s :%s %s does not exist on your silence list",user->nick, user->nick, mask.c_str(), DecompPattern(pattern).c_str()); } else if (action == '+') { -- cgit v1.2.3