diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_silence.cpp | 2 |
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; |