diff options
| author | 2006-05-10 20:21:51 +0000 | |
|---|---|---|
| committer | 2006-05-10 20:21:51 +0000 | |
| commit | d290cf94b3f8c031a5ff6c82fd8c8b06a13d1f15 (patch) | |
| tree | ee0d48932d05141317471177a3b7764f749099c1 /src/modules/m_spanningtree.cpp | |
| parent | Let ulines do NOTICE/PRIVMSG $* without oper again, so that OS GLOBAL on serv... (diff) | |
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/branches/1_0_stable@3943 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 5233d1142..e514baddf 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1856,6 +1856,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 |
