diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-15 14:33:10 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-15 14:33:10 +0000 |
commit | 9b9fb97db8dc7ecffba09422ca3f7dffa63587ad (patch) | |
tree | 9f4ec4e5ddb8c65fea9c40748110e0c124e1e7e3 | |
parent | 0a31bcd5ae19e94827aec1a475ede69501b8230e (diff) |
Fixed to work with new IsInvited
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2479 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_override.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |