From a753fb1bc711e10794e939e424f3cdd703116d82 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Apr 2004 12:38:41 +0000 Subject: Added support for modules to create commands - this needs a proof-of-concept module yet, do not use unless you like to live dangerously. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@351 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/module-doc/users_8cpp-source.html | 57 ++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 26 deletions(-) (limited to 'docs/module-doc/users_8cpp-source.html') diff --git a/docs/module-doc/users_8cpp-source.html b/docs/module-doc/users_8cpp-source.html index b586cb13d..fa84b42c1 100644 --- a/docs/module-doc/users_8cpp-source.html +++ b/docs/module-doc/users_8cpp-source.html @@ -58,32 +58,37 @@ 00050 { 00051 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) 00052 { -00053 if (!strcasecmp(i->channel,channel)) -00054 { -00055 return true; -00056 } -00057 } -00058 } -00059 -00060 void userrec::InviteTo(char* channel) -00061 { -00062 Invited i; -00063 strcpy(i.channel,channel); -00064 invites.push_back(i); -00065 } -00066 -00067 void userrec::RemoveInvite(char* channel) -00068 { -00069 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) -00070 { -00071 if (!strcasecmp(i->channel,channel)) -00072 { -00073 invites.erase(i); -00074 return; -00075 } -00076 } -00077 } -
Generated on Sun Mar 30 19:34:54 2003 for InspIRCd by +00053 if (i->channel) { +00054 if (!strcasecmp(i->channel,channel)) +00055 { +00056 return true; +00057 } +00058 } +00059 } +00060 return false; +00061 } +00062 +00063 void userrec::InviteTo(char* channel) +00064 { +00065 Invited i; +00066 strcpy(i.channel,channel); +00067 invites.push_back(i); +00068 } +00069 +00070 void userrec::RemoveInvite(char* channel) +00071 { +00072 for (InvitedList::iterator i = invites.begin(); i != invites.end(); i++) +00073 { +00074 if (i->channel) { +00075 if (!strcasecmp(i->channel,channel)) +00076 { +00077 invites.erase(i); +00078 return; +00079 } +00080 } +00081 } +00082 } +
Generated on Fri Apr 2 13:37:27 2004 for InspIRCd by doxygen1.3-rc3
-- cgit v1.3.1-10-gc9f91