summaryrefslogtreecommitdiff
path: root/src/users.c
AgeCommit message (Collapse)Author
2008-10-02Replaced anope_SendSVID() with direct call to SendSVID() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1364 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_cmd_privmsg() and privmsg() with direct call to SendPrivmsg() ↵Naram Qashat cyberbotx@cyberbotx.com
in IRCDProto class. Added SendPrivmsgInternal() function to IRCDProto class, now SendPrivmsg() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1335 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_cmd_notice() with direct call to SendNotice() in IRCDProto class.Naram Qashat cyberbotx@cyberbotx.com
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1334 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02set_umode -> ProcessUsermodesRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1314 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02SVSJOIN, SVSPART, CTCP, svid_umode*, unregistered nickchange func renamesRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1312 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01Nuke struct Uid from the core. (hooray!)Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1296 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Initialise everything properly to avoid crashes. Also, fix a prototype to ↵Robin Burchell w00t@inspircd.org
fix runtime halt due to unresolved sym. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1274 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add MODULE_INIT to all modules, fix a few various crashes.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Added cmd_notice() function to IRCDProtoNew class. (Replaces cmd_notice2)Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1229 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Remove anope_cmd_privmsg2 (it's identical to anope_cmd_privmsg!)Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1207 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Mark some stuff deprecated, move implementation from the interface into the ↵Robin Burchell w00t@inspircd.org
user class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1206 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Made all protocol modules able to be compiled via mostly constifying strings.Robin Burchell w00t@inspircd.org
Due to the above, also had to constify strings in many other areas. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move delete_user() into a destructor. Fix a few minor bugs with conversion also.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1194 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add User::SetRealname().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1193 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Remove duplicate debug notice.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1192 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Fix indentation.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1191 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add User::SetIdent(). Also remove duplication by using update_host().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1190 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move more stuff into the user class.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1189 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add User::SetNewNick() method, to be called from ircd protocol.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1188 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Move users to a basic class.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1187 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Constify a lot of the API. Core now "builds".Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1182 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Various g++ fixes. Compiles, doesn't link.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1180 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-03BUILD : 1.7.21 (1426) BUGS : 876 NOTES : We now support CIDR in channel ↵viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b
ban/invite/except lists. Introduces new CIDR capable generic lists system. git-svn-id: svn://svn.anope.org/anope/trunk@1426 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1141 5417fbe8-f217-4b02-8779-1006273d7864
2008-08-17BUILD : 1.7.21 (1414) BUGS : 832 925 NOTES : Applied patch from Twitch to ↵mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b
fix warnings in users.c. Also corrected a typo made in previous commit to add +f support to inspircd11.c, and corrected various mistakes in Changes and version.log git-svn-id: svn://svn.anope.org/anope/trunk@1414 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1129 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20BUILD : 1.7.21 (1402) BUGS : 899 NOTES : DEFCON was akilling ulined servers ↵drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
clients. Thanks Jan git-svn-id: svn://svn.anope.org/anope/trunk@1402 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1117 5417fbe8-f217-4b02-8779-1006273d7864
2008-07-20BUILD : 1.7.21 (1399) BUGS : 909 NOTES : Anope will not limit sessions for ↵drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
ulined servers. Thanks Jan git-svn-id: svn://svn.anope.org/anope/trunk@1399 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1114 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31BUILD : 1.7.19 (1295) BUGS : N/A NOTES : We now have hostip in user_ struct ↵drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
so we can use it where needed. We wont do host_resolve() unless it is extremely necessary, coz we dont want to flood the nameserver. git-svn-id: svn://svn.anope.org/anope/trunk@1295 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1013 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31BUILD : 1.7.19 (1294) BUGS : N/A NOTES : in is_excepted() if we found the ↵drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
exception, break(). There is no point on continue exploring the array. Also, I forgot to free hostip in my previous commit. git-svn-id: svn://svn.anope.org/anope/trunk@1294 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1012 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-31BUILD : 1.7.19 (1293) BUGS : 778 NOTES : is_excepted() now uses ↵drstein drstein@31f1291d-b8d6-0310-a050-a5561fc1590b
match_userip() also. git-svn-id: svn://svn.anope.org/anope/trunk@1293 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1011 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-27BUILD : 1.7.19 (1274) BUGS : 764 NOTES : Fixed firstuser/nextuser and ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
first_uid/next_uid using the same globals thus being unable to be used at the same time git-svn-id: svn://svn.anope.org/anope/trunk@1274 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@992 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-09BUILD : 1.7.19 (1255) BUGS : 743 NOTES : Fixed various compile errors with ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
`make strict` git-svn-id: svn://svn.anope.org/anope/trunk@1255 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@974 5417fbe8-f217-4b02-8779-1006273d7864
2007-04-21BUILD : 1.7.18 (1237) BUGS : 661 NOTES : Fixed DefCon which did not force ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
DefConChanModes when it was enabled git-svn-id: svn://svn.anope.org/anope/trunk@1237 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@956 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-18# BUILD : 1.7.18 (1235) # BUGS : 643 # NOTES : Defcon's AKILL will now ↵certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
honor the server's sync flag git-svn-id: svn://svn.anope.org/anope/trunk@1235 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@954 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-24BUILD : 1.7.17 (1210) BUGS : 645 646 647 NOTES : Fixed anoperc restart, ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
nickchanges on TS6, typo in CHAN_REGISTER_NONE_CHANNEL; added error messages when RDB functions fail (thx heinz) git-svn-id: svn://svn.anope.org/anope/trunk@1210 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@929 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-18BUILD : 1.7.17 (1190) BUGS : N/A NOTES : sha1 is a valid choice of ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
encryption hash git-svn-id: svn://svn.anope.org/anope/trunk@1190 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@910 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-08# BUILD : 1.7.15 (1166) # BUGS : 603 # NOTES : Modified do_umode() to work ↵certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
with last fix. git-svn-id: svn://svn.anope.org/anope/trunk@1166 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@888 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-22# BUILD : 1.7.14 (1099) # BUGS : # NOTES : removed all that clone stuffcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1099 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@823 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13BUILD : 1.7.14 (1048) BUGS : 510 NOTES : Fixed a lot of redundant function ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
declarations git-svn-id: svn://svn.anope.org/anope/trunk@1048 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@772 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01BUILD : 1.7.13 (986) BUGS : n/a NOTES : Propagated CHAN_X_INVALID to all ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
languages and Changes.lang git-svn-id: svn://svn.anope.org/anope/trunk@986 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@711 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01BUILD : 1.7.13 (976) BUGS : 396 NOTES : Fixed TS6 issues with handling nick ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
changes and channel modes git-svn-id: svn://svn.anope.org/anope/trunk@976 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@701 5417fbe8-f217-4b02-8779-1006273d7864
2006-02-23Applied Trystans patch for bug: 448rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@970 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@695 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-11BUILD : 1.7.12 (945) BUGS : 405 410 NOTES : Fixed: first user on HelpChannel ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
always got +h, even if it had no access at all; enforcers had incorrect user when only user was specified; missing quitmessage when catching unknown signals git-svn-id: svn://svn.anope.org/anope/trunk@945 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@674 5417fbe8-f217-4b02-8779-1006273d7864
2005-12-04Applied uid fix provided by trystan (delayed in commiting as svn was playing up)rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@942 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@673 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-21BUILD : 1.7.11 (893) BUGS : NOTES : Fixed a segfault in find_byuid() if it ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
was passed with a NULL-argument git-svn-id: svn://svn.anope.org/anope/trunk@893 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@640 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-06BUILD : 1.7.10 (872) BUGS : NOTES : Fixed delete_user to always free any ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
allocated memory for vhost/vident git-svn-id: svn://svn.anope.org/anope/trunk@872 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@621 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-06BUILD : 1.7.9 (779) BUGS : none NOTES : TS6 nick tracking fix by static dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@779 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@539 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05BUILD : 1.7.9 (778) BUGS : N/A NOTES : inspircd fixs, debug output fix rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@778 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@538 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05BUILD : 1.7.9 (776) BUGS : none NOTES : Prepended all debug messages for ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
consistency. git-svn-id: svn://svn.anope.org/anope/trunk@776 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@536 5417fbe8-f217-4b02-8779-1006273d7864