diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_randquote.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index 5db1c66ac..ddff1c914 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -39,6 +39,11 @@ class ModuleRandQuote : public Module quotes = new FileReader(q_file); + if(!quotes->Exists()) + { + printf("m_randquote: QuoteFile not Found!! Please check your config.\n\n"); + exit(0); + } } virtual ~ModuleRandQuote() |