From 02203e5243b18b9044320ecf291c3948cc80b150 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 8 May 2004 18:26:12 +0000 Subject: Removed some debug stuff git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@798 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_services.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/modules') 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; } } -- cgit v1.2.3