diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 14:44:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-04 14:44:02 +0000 |
commit | 8fc3c90385f2c2a327e1cfbe47bf959802177d40 (patch) | |
tree | 46732c3a5230052e3cd290b0a09321f4d1d1160c /src | |
parent | 001861f5d2aca21531b0a20a46e44654a45a5522 (diff) |
Extra safety required by recent changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9309 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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; |