summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-08-08Oops, goofed upbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4804 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Improve Write functions, and change some stuff from char* to const char*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4803 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08WriteWallops() -> userrec::WriteWallops() (originates from a user, so ↵brain
belongs in userrec) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4802 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08WriteCommon() and WriteCommonExcept() -> userrec::WriteCommon(), ↵brain
userrec::WriteCommonExcept() WriteCommon_NoFormat() and WriteCommonExcept_NoFormat() -> std::string variants git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4800 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08WHEEEEE!!!!!brain
All of: Write(), WriteTo(), WriteFrom(), WriteServ() are now methods of userrec. Write_NoFormat(), WriteTo_NoFormat(), WriteFrom_NoFormat(), WriteServ_NoFormat() are now std::string-taking overloaded methods of the functions above All modules updated to use new syntax, my fingers hurt :( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Move whowas stuff into its own namespace, move more stuff into userrecbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08FindMatchingLocal/FindMatchingGlobal -> userrec::LocalCloneCount(), ↵brain
userrec::GlobalCloneCount() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4794 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08userrec::UpdateNickHash(), userrec::ForceNickChange(), userrec::FullConnect()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4793 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08AddOper() and DeleteOper() -> userrec::Oper() and userrec::UnOper() (these ↵brain
do more, too) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4792 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08userrec::AddToWhoWas() fixbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4791 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08AddWhoWas(userrec) -> userrec::AddToWhoWas()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4790 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08kill_link() and Server::QuitUser() -> userrec::QuitUser() (static member) - ↵brain
this cant be a normal member as it causes the userrec to be deleted, and "delete this" is bad, mmm'k git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4789 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08WriteChannel* functions and ChanExceptSender* functions are now methods of ↵brain
chanrec. They probably should be renamed too eventually. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4788 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08add_channel -> chanrec::JoinUser()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Change to chanrec::PartUser. As with KickUser and ServerKickUser, returns ↵brain
the number of users left, if it returns 0, delete the chanrec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4786 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Check return valuesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4784 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08chanrec::KickUser and chanrec::ServerKickUser return number of users left on ↵brain
the channel after the kick. If either returns 0, you should delete the chanrec immediately after return: if (!c->KickUser(mysrc, mydest, "DIE")) /* arse */ delete c; git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4783 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08kick_channel -> chanrec::KickUser(), server_kick_channel -> ↵brain
chanrec::ServerKickUser() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4782 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Add checking on AddFd that was missing (it assumed, like everything else)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4781 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-08Extra checking that the fd's we pass to SocketEngine::AddFd were added (a ↵brain
lot of assuming was going off, leading to total chaos if we run out of fd's etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4780 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Only local users can have angry monkeys and packs of wild dogs. These are ↵brain
local monkeys for local people! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4778 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Now with added ANGRY MONKEYS.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4777 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Change the error message, just for LeaChim <3brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4776 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Check earlier on is no longer requiredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4775 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Bail if we couldn't bind any ports (when did this get broken?)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4774 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Put casts back :(brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4773 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07The segfaults on missing init_module symbol are now gone, and hopefully not ↵brain
coming back! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4772 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Change symbol backbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4771 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Added some hax :( to prevent invalid symbols. It seems that instead of ↵brain
returning NULL, its setting a pointer to -1 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4770 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Tidy up, make a lot of char*'s constbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4769 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Better checks for running out of disk space, inability to write to tmp dir, etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4768 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Extra debug all over the place, which maybe we should keepbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4767 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Untested but compiling updates for Resolver DNS APIom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4766 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07General cleanup of code., add support for +Q channel mode (and config tag ↵om
<remove:supportnokicks>) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4765 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Add m_tline, tests how many users a gline, zline etc would match. Can use ↵brain
this before adding one if youre not sure, or youre just curious git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4763 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Remove dependent commands BEFORE deleting the Module*, otherwise things go ↵brain
tits over arse git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4761 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-07Remove old debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4760 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Remove trailing spaces from input in irc::ircsepstreambrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4759 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Left nick out of the cidr/ip check in bans/join, would never matchbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4758 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Fix for ipv6 buildbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4757 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06return statement in wrong place caused modes to be droppedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4756 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Syntax notice on bad commandlinebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4752 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Add -notraceback startup option, disables automatic backtrace facility so ↵brain
that you can do it yourself with a coredump and gdb (auto backtrace doesnt dump cores) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4751 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Remove check that very rarely equates to truebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4750 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Change to strrchr when looking for '/'. fasterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4749 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Tidy up commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4748 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4747 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Extra commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4746 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06CIDR g/k/e lines to go with zlinesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4744 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Just commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4743 e03df62e-2008-0410-955e-edbf42e46eb7