summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_silence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp
index 1a554cf63..2a8fbae94 100644
--- a/src/modules/m_silence.cpp
+++ b/src/modules/m_silence.cpp
@@ -382,7 +382,7 @@ class ModuleSilence : public Module
int MatchPattern(User* dest, User* source, int pattern)
{
/* Server source */
- if (!source)
+ if (!source || !dest)
return 1;
silencelist* sl;