summaryrefslogtreecommitdiff
path: root/src/modules/m_chgident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r--src/modules/m_chgident.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp
index 83e3c70d5..039eb1022 100644
--- a/src/modules/m_chgident.cpp
+++ b/src/modules/m_chgident.cpp
@@ -43,13 +43,13 @@ class cmd_chgident : public command_t
class ModuleChgIdent : public Module
{
cmd_chgident* mycommand;
- Server* Srv;
+
public:
ModuleChgIdent(InspIRCd* Me) : Module::Module(Me)
{
mycommand = new cmd_chgident();
- Srv->AddCommand(mycommand);
+ ServerInstance->AddCommand(mycommand);
}
virtual ~ModuleChgIdent()