summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-24 19:02:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-24 19:02:15 +0000
commit0bee078104643aca76c8669718671e43251de2f0 (patch)
tree8534ef768b40ee95a237cc65643af2a2454e9866
parent9526135e338e983b574040f17ba34baa4af59487 (diff)
Fix for bug #610 reported by ankit, numeric changed to 505
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10596 e03df62e-2008-0410-955e-edbf42e46eb7
-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 becb02603..c868dc300 100644
--- a/src/modules/m_uninvite.cpp
+++ b/src/modules/m_uninvite.cpp
@@ -59,7 +59,7 @@ class CommandUninvite : public Command
if (!u->IsInvited(xname))
{
- user->WriteNumeric(491, "%s %s %s :Is not invited to channel %s", user->nick.c_str(), u->nick.c_str(), c->name.c_str(), c->name.c_str());
+ user->WriteNumeric(505, "%s %s %s :Is not invited to channel %s", user->nick.c_str(), u->nick.c_str(), c->name.c_str(), c->name.c_str());
return CMD_FAILURE;
}
if (!c->HasUser(user))