diff options
| author | 2013-04-18 22:50:12 +0200 | |
|---|---|---|
| committer | 2013-04-18 22:50:12 +0200 | |
| commit | ddba35710aa04e33bb061225764a7a9a1165beae (patch) | |
| tree | 1d42c4d8e3976b7558decdd22ee4e08cd23461fa /src/modules/m_spanningtree/main.cpp | |
| parent | m_callerid Ignore duplicate entries when unserializing callerid_data (diff) | |
m_spanningtree Fix IS_LOCAL() check in OnRehash handler
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -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); } } |
