summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-18 22:50:12 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-18 22:50:12 +0200
commitddba35710aa04e33bb061225764a7a9a1165beae (patch)
tree1d42c4d8e3976b7558decdd22ee4e08cd23461fa /src
parent5ca81cf89a1d7cf78a2bb078a25305c1ebab8746 (diff)
m_spanningtree Fix IS_LOCAL() check in OnRehash handler
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index e7892526e..fdb9ef200 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -783,7 +783,7 @@ void ModuleSpanningTree::OnRehash(User* user)
std::string msg = "Error in configuration: ";
msg.append(e.GetReason());
ServerInstance->SNO->WriteToSnoMask('l', msg);
- if (!IS_LOCAL(user))
+ if (user && !IS_LOCAL(user))
ServerInstance->PI->SendSNONotice("L", msg);
}
}