diff options
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 34f85d51e..9138e7ff1 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1810,7 +1810,8 @@ class TreeSocket : public InspSocket { /* find created channel .. */ chan = this->Instance->FindChan(channel); - chan->age = TS; + if (chan) /* shouldn't be needed, seems it is */ + chan->age = TS; } /* All done. That wasnt so bad was it, you can wipe |