From 470db78c0c61efb16e8d10cad492fd71d37963d1 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 4 Feb 2006 19:28:33 +0000 Subject: Tweak tweak git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3083 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_uninvite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3