diff options
Diffstat (limited to 'src/modules/m_randquote.cpp')
| -rw-r--r-- | src/modules/m_randquote.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index 953a378eb..90ba8b4f2 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -22,7 +22,7 @@ using namespace std; #include "helperfuncs.h" #include "inspircd.h" -static Server *Srv; + static FileReader *quotes = NULL; std::string q_file = ""; @@ -109,7 +109,7 @@ class ModuleRandQuote : public Module { /* Hidden Command -- Mode clients assume /quote sends raw data to an IRCd >:D */ mycommand = new cmd_randquote(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } } |
