diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-18 22:50:12 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-18 22:50:12 +0200 |
commit | ddba35710aa04e33bb061225764a7a9a1165beae (patch) | |
tree | 1d42c4d8e3976b7558decdd22ee4e08cd23461fa /src/modules/m_spanningtree | |
parent | 5ca81cf89a1d7cf78a2bb078a25305c1ebab8746 (diff) |
m_spanningtree Fix IS_LOCAL() check in OnRehash handler
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
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); } } |