diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_services.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index 4202da2d0..bf6d897d9 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -8,11 +8,9 @@ /* $ModDesc: Povides support for services +r user/chan modes and more */ -Server *Srv; - - class ModuleServices : public Module { + Server *Srv; public: ModuleServices() { @@ -156,7 +154,7 @@ class ModuleServices : public Module return 0; } // joining a +R channel and not identified - Srv->SendServ(user->fd,"477 "+std::string(user->nick)+" "+std::string(c->name)+" :You need a registered nickname to join this channel"); + Srv->SendServ(user->fd,"477 "+std::string(user->nick)+" "+std::string(chan->name)+" :You need a registered nickname to join this channel"); return 1; } } |