summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 455bb74ec..26e625cee 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -439,6 +439,7 @@ void User::InviteTo(const irc::string &channel, time_t invtimeout)
if (i->second != 0 && invtimeout > i->second)
{
i->second = invtimeout;
+ return;
}
}
}