diff options
| author | 2006-05-10 20:21:32 +0000 | |
|---|---|---|
| committer | 2006-05-10 20:21:32 +0000 | |
| commit | 44809375aac55014c093bf22ef1a70a08a5c09a0 (patch) | |
| tree | 03b019c3aef141d7121c27886b0e7df794a317a6 /src/modules/m_spanningtree.cpp | |
| parent | Fixed to work with -j 3 (diff) | |
| download | inspircd++-44809375aac55014c093bf22ef1a70a08a5c09a0.tar.gz inspircd++-44809375aac55014c093bf22ef1a70a08a5c09a0.tar.bz2 inspircd++-44809375aac55014c093bf22ef1a70a08a5c09a0.zip | |
Fix for crash on: /OS RAW PUSH non-existent-nick :::nick!ident@host KICK #chan nick :any reason
(yes, REALLY.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3942 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
| -rw-r--r-- | src/modules/m_spanningtree.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 97ed6754b..652a8d5f2 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1875,6 +1875,9 @@ class TreeSocket : public InspSocket userrec* u = Srv->FindNick(params[0]); + if (!u) + return true; + if (IS_LOCAL(u)) { // push the raw to the user |
