summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 00:56:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-15 00:56:11 +0000
commit84b6d82413c71c845c97279ea9150089cd9f8b5a (patch)
treed0eeed3864b3eb8d7737ac8dcc38d73a4ed4922f /src/users.cpp
parent780809b758f0091c71ffe7148033ac9058f093af (diff)
Added idea from ircu: /invite with too few params shows the channels youve been invited to but have not yet joined
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1382 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 7a8878106..6fca08abc 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -85,6 +85,11 @@ bool userrec::IsInvited(char* channel)
return false;
}
+InvitedList* userrec::GetInviteList()
+{
+ return &invites;
+}
+
void userrec::InviteTo(char* channel)
{
Invited i;