From 9b9fb97db8dc7ecffba09422ca3f7dffa63587ad Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 15 Dec 2005 14:33:10 +0000 Subject: Fixed to work with new IsInvited git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2479 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_override.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_override.cpp b/src/modules/m_override.cpp index 5bd453597..a69ab9bb2 100644 --- a/src/modules/m_override.cpp +++ b/src/modules/m_override.cpp @@ -171,7 +171,8 @@ class ModuleOverride : public Module { if (NoisyOverride) { - if (!user->IsInvited(chan->name)) + std::string x = chan->name; + if (!user->IsInvited(x)) { WriteChannelWithServ((char*)Srv->GetServerName().c_str(),chan,"NOTICE %s :%s invited himself into the channel",cname,user->nick); } -- cgit v1.2.3