summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-04 19:28:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-04 19:28:33 +0000
commit470db78c0c61efb16e8d10cad492fd71d37963d1 (patch)
tree236c8b1f34cf683aef01be42d7e84c7a5027ddd3 /src
parentba7b1db56072ad803744839f038afc0098287787 (diff)
Tweak tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3083 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_uninvite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp
index c8a632b7e..59d5fc04e 100644
--- a/src/modules/m_uninvite.cpp
+++ b/src/modules/m_uninvite.cpp
@@ -70,7 +70,7 @@ class cmd_uninvite : public command_t
WriteServ(user->fd,"491 %s %s %s :Is not invited to channel %s",user->nick,u->nick,c->name,c->name);
return;
}
- if (has_channel(user,c))
+ if (!has_channel(user,c))
{
WriteServ(user->fd,"492 %s %s :You're not on that channel!",user->nick, c->name);
return;