summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-27Convert a metric assload of stuff to use UIDw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7861 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Send UID (not nick) on client connectionw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7860 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Send UID prefix on module commands across links.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7859 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Paranoia: Check for UUID collision on UID reciept, remove both clients if a ↵w00t
collision occurs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7858 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27This will royally fuck 1.2's linking right now, but..w00t
- Don't use NICK to introduce clients - DO use UID - On nick collide, change our client to their UID and let the other server do the same with theirs. The last point is currently the broken bit, see, we can't change a nick to something starting with a didget, because that breaks nick rules.. need to overcome this somehow. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7857 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Fix me not being able to code..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7856 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Add InspIRCd::FindUUID() methods. Currently, these work off an iteration ↵w00t
around the whole client list. This sucks, and will be changed to a map the same as FindNick(). Also update FindNick's docs a little out of anal habit: it returns a user, not a nick. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7855 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Fix to SVSJOIN: disallow invalid channel names. Needs backport.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7852 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Now we know it works, remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7851 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Whoopsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7850 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27Automatic SID generation based on code similar to the STL hash function and ↵brain
using server name and server gecos git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7849 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-27UUID is now generated and set on client add, and shown after 005 via numeric ↵w00t
042: %s :your unique ID. This also replaces the fd-unknown style of nicks we used prior to recieving NICK from a client, just because it looks tidier. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7848 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26And zero UUID in constructor.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7847 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Initial UUID generation code. Generates a TS6 compatible UUID.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7846 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Add skeleton functions for UID stuff.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7845 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Bump ABI version and protocol version. Note that this really means 1.1 and ↵w00t
1.2 are diverged now, and won't link/load modules of each other. This is in preperation for me (possibly) messing with UID in trunk. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7844 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Make this compile, was missing a (peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7843 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Add 'you are banned' numeric to banredirect output, from avenger's patchw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7842 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Added new announceinvite setting i discussed briefly with w00t and i like ↵brain
myself: # The value 'dynamic' varies between 'ops' and 'all' # # settings depending on if the channel is +i or not. # # When the channel is +i, messages go only to ops, # # and when the channel is not +i, messages go to # # everyone. In short, the messages will go to every # # user who has power of INVITE on the channel. This # # is the recommended setting. # git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7841 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Hide remote oper up notices if quiet bursts are enabled etc. Adapted from ↵w00t
avenger's patch. Untested. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7840 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Proper fix for end-of-list numerics on restricted lists in bug #386, rather ↵brain
than a hackish nonmodular one. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7838 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Add option to set invite announcements to nobody, ops only, or all users, ↵brain
based on options:announceinvites. Part of bug #386, should not be backported. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7837 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Fix for bug #376 - FEATURE - (sorry w00t) - not backporting to stable.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7835 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Add m_commonchans.so (documented in example conf, no wiki yet) resolves bug ↵brain
#342 feature request by Casey git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7832 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Revised fix for bug #367 pointed out during qa by owine, thanks :)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7830 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Document ModuleSpanningTree::RemoteMessage. Maybe useful for other stuff.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7828 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-26Routing failure messages back where they came from on /rconnectbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7826 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-25Implement bug #396, feature request from Brickerbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7824 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-25Fix for bug #397brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7821 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-25Add 'require 5.8.0' to the very top of every module to make the failure ↵brain
message when you run an ancient perl a bit more descriptive. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7820 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-24The world wont end, but configure might :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7817 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-24Slightly better regexps, pointed out by stskeepsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7815 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Someone really should fix the blocking connects on windows craq...brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7813 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Move the close() wrapper out of the win32wrapper.h, and into its new proper ↵brain
place at SocketEngine::Close() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7812 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Document all this shit!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7811 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Craquity craq De-craq!brain
This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Tidyup some duplicated codebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7808 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Move WSACleanup() into IOCPEngine destructor, eliminating an "#ifdef WIN32" ↵brain
from inspircd.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7807 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Raft of fixes so that inspircd can call Cleanup() and Exit() in less ↵brain
'stable' circumstances, e.g. when half initialized, and it wont segfault. Also fix OpenLog to not always exit on error, but to return a bool instead, which is much more friendly on rehash (you don't want /REHASH dieing your server if you cant write the log!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7804 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Fix segfault on 'cant open logfile' on startup, on trying to call Exit. ↵brain
instead just call plain exit() as we're screwed and cant log any unload messages. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7802 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Add some stuff to change how we process a token sepeperated streambrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7800 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Fix for irc::sepstream for when there are multiple seperators in a row, do ↵brain
not drop the rest of the line, strip the seperators git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7798 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Switch around the two operations in MatchCIDRBits to make negative matches ↵brain
faster (and not change the speed of positive matches) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7797 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-23Bricker said so.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7795 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Whoops, found a bug in it anyway :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7791 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Implement feature in bug #395 reported by stealth, and tidy up a bitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7789 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-21Fix for delete-when-we-shouldnt bug similar to what stskeeps found yesterdaybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7787 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Checks for libgnugetopt in /usr/local/lib before continuingbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7785 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Improve this a lotbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7783 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20Extra stuff so that freebsd 4 may work (needs someone with this OS to test!)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7781 e03df62e-2008-0410-955e-edbf42e46eb7