diff options
| author | 2018-04-16 19:07:53 +0100 | |
|---|---|---|
| committer | 2018-04-17 18:36:50 +0100 | |
| commit | 49c35af6af8c5207c7c7c0fe41c041b2134262d6 (patch) | |
| tree | 5eda91d79039b0f2b4237bfdd7865005e160f0a3 /src/configreader.cpp | |
| parent | Rewrite m_denychans. (diff) | |
Tell the rehasher if an exception is thrown by a module on rehash.
Diffstat (limited to 'src/configreader.cpp')
| -rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index e4ce955f8..7941e4844 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -805,6 +805,8 @@ void ConfigReaderThread::Finish() catch (CoreException& modex) { ServerInstance->Logs->Log("MODULE", LOG_DEFAULT, "Exception caught: " + modex.GetReason()); + if (user) + user->WriteNotice(i->first + ": " + modex.GetReason()); } } |
