summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-08 18:26:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-08 18:26:12 +0000
commit02203e5243b18b9044320ecf291c3948cc80b150 (patch)
treee630cf60e47c9c843f6f4c90d8f3b4cabb3e97b0 /src/modules
parent7db4aae14db7917133beb70f5513a6cc73647432 (diff)
Removed some debug stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@798 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_services.cpp6
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;
}
}