summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-11-03 12:40:24 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-11-03 12:40:24 +0100
commit2c51a2bf17b6c377f0207f3d89b4b3f399fc0178 (patch)
tree93f446719933bcfcb2f3580fef778a37c70dc57e /src/users.cpp
parenta2461fb7e1c28e28e64b61256d7a547162a83f6e (diff)
parenta124a3783d8e8136b63f188bbd292c391811df54 (diff)
Merge branch 'master+invite'
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/users.cpp b/src/users.cpp
index d760c713f..d503844e7 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -139,28 +139,6 @@ const std::string& User::GetFullRealHost()
return this->cached_fullrealhost;
}
-InviteList& LocalUser::GetInviteList()
-{
- RemoveExpiredInvites();
- return invites;
-}
-
-bool LocalUser::RemoveInvite(Channel* chan)
-{
- Invitation* inv = Invitation::Find(chan, this);
- if (inv)
- {
- delete inv;
- return true;
- }
- return false;
-}
-
-void LocalUser::RemoveExpiredInvites()
-{
- Invitation::Find(NULL, this);
-}
-
bool User::HasModePermission(unsigned char, ModeType)
{
return true;
@@ -328,7 +306,6 @@ CullResult User::cull()
CullResult LocalUser::cull()
{
- ClearInvites();
eh.cull();
return User::cull();
}