summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-10-21Tweak so that commands with larger penalty than 1 work rightbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8252 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Yay, all works!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8251 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21*untested* command buffering/penaltybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8250 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Dont forget to initialize the new valuebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8248 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Add User::UnderPenaltybrain
/** If this bool is set for a user, then the user is under penalty, in short they * are waiting for some held commands to be executed. If this is the case, then * any commands they have in their sendq are executed on a timer tick rather than in * their event handler. */ git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8244 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Change a !string.length to string.empty. these are more readable and on some ↵brain
implementations faster git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8243 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Subtract a boobiew00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8242 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-21Remove next_call garbage.. It didn't really do much more than obfuscate ↵w00t
things. InspIRCd::DoBackgroundUserStuff() is now called once per second, roughly. This will (of course) not be going into 1.1.x git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8241 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-19Fix small memory leak (this cant theoretically happen anyway unless you ↵brain
remove a network interface while an ident is connecting, and then youll only leak 12 bytes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8234 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Tons of comments!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8233 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Oops, OnCheckReady being called after registration! This doesnt break the ↵brain
new m_ident, but it goes against spec git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8232 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Fix here toobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8229 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Yay fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8226 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Socket engine tweaks to fix a glitch, and improvements to new m_identbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8225 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18Set IdentRequestSocket::done on failure to getsockname() in OnConnectedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8224 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18This new ident module now seems to work rudimentarily.brain
Should be safe to backport to 1.1, then make look nicer in 1.2, its pretty neat as it stands though. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8223 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-18No gaurantees this works AT ALL. do not use yet!!!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8222 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-17Remove debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8221 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-17UID translator broken with space or comma seperated lists (thanks danieldg)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8220 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-16Cache the culllist' GetUser() return. Looks cleaner.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8219 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-16Remove second overridden (fully duplicated :/) copy of GetIPString which ↵w00t
copies into a user specified buffer. It's not used anywhere, and is duplication ;( git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8218 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-16Typo fixw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8217 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-16Update a commentw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8216 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15Move oper classes and types stuff from users to configreader. It may need to ↵w00t
go in a class, I'm not going to investigate that now. Also make HasPermission() a bit easier to read via same changes I did in command_parse, but the strtok/strdup stuff really really has to go somehow I think.. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8215 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15Apply some readability changes to ProcessCommand, which coincidentally may ↵w00t
speed it up with some compiler optimisation git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8214 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15Move some other stuff to helperfuncs (uline related, and timestring)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8213 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15Fuck. Press save, then commit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8212 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15Move InspIRCd::Duration from command_parse to helperfuncsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8211 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15Split user resolver into its own file.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8209 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspSocket -> BufferedSocket. Paves the way for a SimpleSocket class which ↵w00t
ident etc will use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8206 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15InspTimer -> Timerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8205 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15In the grand tradition of huge fucking commits:w00t
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15class command_t -> class Command. Whey :Dw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-15Bad Brain, bad. *spank* :pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8201 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Another dodgy count fixedbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8200 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Fix the 'total of -1 modules have been loaded' due to new loaderbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8197 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Make error messages on failure to load command more usefulbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8194 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Fix crashing on startup if there was an error condition in win32brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8193 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Remove crashdump stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8192 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Put this back how it was, it didnt help with the fix last night which turned ↵brain
out to be something else git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8190 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Fix indentationbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8188 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Split up spanningtree some more, the filenames should be more intuitive so ↵brain
that developers know where to find stuff (more of this is coming soon) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8187 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Change the way origins are shown in snonotice, for djGrrr :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8181 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14move opening of log before opening of config so that failure to open the ↵brain
config can be logged git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8179 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-14Tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8174 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Move some stuff around, this will move a crash to a different place and ↵brain
maybe we'll catch it git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8171 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Fixes for potential 4 byte memory leak, and crashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8169 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13And some more tweaks to make sure it frees memory :Pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8167 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13More fixes to the ident stuff to make sure that one socket doesnt go before ↵brain
the other, without the one thats left knowing its gone! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8166 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-13Tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8165 e03df62e-2008-0410-955e-edbf42e46eb7