summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-07 19:17:17 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-07 19:17:17 +0000
commit8d3a30d4c5c1cc6ebeb62630b2aa05cd26c42303 (patch)
tree643eb32efad3cc1744381efa4197f8ba3d1d7d5c /src/users.cpp
parent54c49b40f74d5658a6a7b060c7bd306cd085de1a (diff)
I am a retard, mixx941 is my god
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10124 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 26e625cee..f631420fe 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -439,8 +439,9 @@ void User::InviteTo(const irc::string &channel, time_t invtimeout)
if (i->second != 0 && invtimeout > i->second)
{
i->second = invtimeout;
- return;
}
+
+ return;
}
}
invites.push_back(std::make_pair(channel, invtimeout));