From 44809375aac55014c093bf22ef1a70a08a5c09a0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 10 May 2006 20:21:32 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3