diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-22 22:38:18 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-22 22:38:18 +0000 |
commit | c99ec633b3365c68420e4d567d7797bd5e709e28 (patch) | |
tree | e66352f61927957212b91ae3457b731106bcb4e2 /src/modules | |
parent | d601dd34891e4e7a0c23f8daf5e3ba7fc4755cfa (diff) |
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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_silence_ext.cpp | 3 |
1 files changed, 1 insertions, 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 == '+') { |