summaryrefslogtreecommitdiff
path: root/src/modules/m_randquote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_randquote.cpp')
-rw-r--r--src/modules/m_randquote.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index c1353ef09..035b39a0c 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -83,7 +83,7 @@ class ModuleRandQuote : public Module
: Module::Module(Me)
{
- conf = new ConfigReader;
+ conf = new ConfigReader(ServerInstance);
// Sort the Randomizer thingie..
srand(time(NULL));
@@ -99,7 +99,7 @@ class ModuleRandQuote : public Module
throw(e);
}
- quotes = new FileReader(q_file);
+ quotes = new FileReader(ServerInstance, q_file);
if(!quotes->Exists())
{
RandquoteException e("m_randquote: QuoteFile not Found!! Please check your config - module will not function.");